CENTRAL ISLIP, N.Y. (CBSNewYork/AP) — A Long Island physician assistant pleaded guilty Friday in an oxycodone case that led to the resignation of a Hamptons politician.

Michael Troyan, 37, of Riverhead, pleaded guilty to conspiring to illegally distribute oxycodone.

READ MORE: Police: Man Stabbed In Head With Machete After Argument At Walmart In Kearny, N.J.

He faces up to 20 years in prison and has agreed to forfeit $710,290, according to Brooklyn U.S. Attorney Robert Capers.

One of Troyan’s co-conspirators, former Southampton Town Councilman Bradley Bender, will be sentenced June 24. He resigned Nov. 24, the day he pleaded guilty to the same charge.

READ MORE: Some Real Estate Agents Report Surge Of New Yorkers Moving From Manhattan To The Bronx

Bender, who was elected as a Southampton town councilman in 2013, said he got pills from Troyan and resold some for cash and steroids. He said after his plea that he was recovering from addiction but still wanted to be a productive member of society.

Troyan, who operated two urgent care clinics on the East End of Long Island, “issued prescriptions for thousands of oxycodone pills to co-conspirators for the purpose of illegally re-selling the pills” from November 2011 to October 2015, Capers said in a statement.

He was captured on video in an undercover operation writing phony oxycodone prescriptions at his Riverhead medical office and receiving “large quantities of cash,” the U.S. attorney said.

MORE NEWS: Reopenings Continue On Broadway As 'Moulin Rouge! The Musical' Resumes Performances

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)