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: New York City Schools Chancellor Richard Carranza Stepping Down

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: Long Island Man Shocked By Amazon's Response After He Found Undelivered Packages On Side Of Road; 'It's Not My Stuff To Keep'

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: Sources: Salman Muflihi Faces Hate Crime Charges In Stabbing Of Asian Man In Lower Manhattan

(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.)