A former Victorian magistrate who pleaded guilty to sexually abusing two teenagers has walked from court after his three-year jail sentence was fully suspended.

Simon Mitchell Cooper, 56, pleaded guilty earlier this year to seven charges of indecent assault against the brothers, who were aged 17 and 18.

Some people cried and left the court when the sentence was read out.

The court had heard Cooper was mentored by the teenagers' father and became a family friend.

It heard the brothers looked up to Cooper, but he inappropriately touched them between 1984 and 1986.

The court was told that on one occasion he attempted to interfere with one of the intoxicated teenagers after a night out with the teenager's mother.

It heard that he also invited one of the teenagers to have sex with a young woman while Cooper indecently assaulted him.

Cooper previously worked as a Crown prosecutor in Victoria and was appointed a magistrate in 2012. He resigned earlier this year.

Judge Stephen Norrish told the court Cooper's spectacular fall from grace was taken into account in sentencing.

Judge Norrish said character evidence for Cooper was impressive, and keeping the former crown prosecutor safe in jail would have been nearly impossible.

One of the victims says other victims of abuse should come forward.

"If one other person can stand up I think that's a great thing for society," he said.

"Be warned: the victims will be heard, they will be believed."

Editor's Note 13/12/13 - This story has been amended to include the ages of the victims at the time of the offences.