DOWNINGTOWN, Pa. (AP) — A former Roman Catholic pastor has admitted he stole $30,000 from his Pennsylvania parish, money he spent on a beach house on the New Jersey shore and men with whom he had sexual relationships.

Monsignor Joseph McLoone, 58, pleaded guilty Thursday to misdemeanor theft charges and was sentenced to five years of probation, the first nine months of which he will complete under house arrest. He also will have to perform community service.

READ MORE: 16-Year-Old Ahjaon Jackson Shot, Killed While Coming Home From Work With Twin Sister, Philadelphia Police Say

McLoone initially was accused of stealing nearly $100,000 from the St. Joseph parish in Downingtown, but he eventually reached a plea deal with Chester County prosecutors. He has been on administrative leave since his resignation from St. Joseph in 2018.

Prosecutors said McLoone diverted funds into secret accounts and misappropriated fees charged to parishioners while also doubling the amount he collected as a stipend for each Mass, wedding and funeral. They said he used the money to pad his salary and for a beach house in Ocean City, New Jersey, as well as for men he was dating.

READ MORE: Doctor Accused Of Hoarding Dead Kittens In Her Freezer

McLoone disclosed the theft to church officials when questions were raised about payments he made during a routine audit in late 2017. That led to an investigation by the archdiocese, and authorities began their probe about a year later.

Ken Gavin, an archdiocese spokesperson, said its leaders “are grateful for the resolution in this matter along with the closure and healing it brings.” He also noted that the required canonical investigation of McLoone — which had been on hold while the legal process played out — would now begin.

MORE NEWS: Philadelphia Police Searching For Shafeeq Lewis, Accused Of Fatally Shooting 13-Year-Old Boy On Way To School

(©Copyright 2021 by The Associated Press. All Rights Reserved.)