Otago University's law dean Professor Mark Henaghan has stepped down amid controversy surrounding the student camp for law students.
Students alleged there was excessive drinking, nudity and jelly wrestling at the camps.
The student-led Otago University Law Students (SOULS) group cancelled this year's annual camp after the university withdrew its support.
Professor Hengahan denies his decision was related to the law camp controversies.
"My decision to step aside as dean early is not related to student law camps," he said in a statement to Newshub.
"I had, earlier this year, announced my departure as Dean of the Otago Law Faculty from the end of 2018. It is appropriate to allow a fair and decent amount of time for my successor Professor Jessica Palmer to learn the ropes in this very demanding role and to enable her to lead the strategic planning for next year and into the future."
Professor Henaghan is continuing research and teaching roles at the university until the end of this year when he is expected to take up a new role at the University of Auckland.