His symptoms at the time were considered consistent with a major depressive episode.
Both men took part fully in restorative justice, which had a positive outcome and satisfied the victim. Among the terms agreed and completed were 250 hours of community work (Kingi) and 200 hours (McElwen), letters of apology, emotional harm reparation and personal counselling.
McEwen facilitated the assault by preventing it being stopped, and in that was he was a participant, Judge France said, but he was also a young man of talent and promise and he equally accepted responsibility and participated fully in community work.
Judge France deemed them two young men of "great promise" who had significantly erred.
"A jail term could have devastating effect on two young persons who have much to offer, and who at all times other than this one occasion have indicated they will realise that promise. Their expressions of remorse are genuine and their efforts at making amends exemplary."
He concluded that the court was faced with two young men of "outstanding" potential who could make a very significant contribution, who had served an appropriate punishment and there was no suggestion of any chance of this type of conduct happening again.