Former California real estate executive Toby MacFarlane has been sentenced to six months behind bars - the longest prison term so far of defendants in the college admission scandal.

MacFarlane, 56, of Del Mar, has also been ordered to pay $150,000 and do 200 hours of community service, the U.S. Attorney's Office of Massachusetts said.

Prosecutors were recommending 15 months behind bars, along with a year of supervised release and a $95,000 fine.

MacFarlane, 56, a former executive at a California title insurance company, had pleaded guilty to conspiracy to commit mail fraud and honest services mail fraud, CNN reported.

Insurance executive Toby MacFarlane leaves the federal courthouse Wednesday in Boston after being sentenced in the college admissions cheating scheme

Toby MacFarlane exits federal court in Boston on Wednesday after receiving the strictest sentence since the college admission scandal broke

He was the 13th parent convicted and sentenced, that has exposing wealthy families and elite universities.

MacFarlane allegedly gave William 'Rick' Singer $450,000 so his children could get admitted into the University of Southern California as star athletes, when neither of them was.

But his son was accepted as a basketball recruit in 2017.

His application listed his height at 6-feet, 1-inch, when he was only 5-feet, 5-inches tall, and said that he played on the varsity team from 2014 to 2016, even though he only played his senior year.

Toby MacFarlane is flanked by a reporter leaving federal court Wednedsay. The judge sentenced him to six months in prison for his part in the college admissions scheme

As for MacFarlane's daughter, she never played soccer when her application was submitted to the school in 2013.

However, an essay she included for the application claimed otherwise: 'My parents have a hard time attending my soccer matches because our opponent's parents are always making rude remarks about that number 8 player who plays without a care for her body or anyone else's on the field. It is true that I can be a bit intense out there on the field.'

She was to graduate before anyone knew of her involvement with Singer.

Actress Felicity Huffman was one of the most high-profile parents sentenced in the scandal. She was released after serving 11 days of her two-week term.

Other sentences have ranged from no prison time to five months of incarceration.

MacFarlane allegedly gave William 'Rick' Singer (pictured in March) $450,000 so his children could get admitted into the University of Southern California as star athletes, when neither of them was