A one-time chief of staff to former Assemb. William Boyland who provided critical testimony for the government at Boyland’s corruption trial, was sentenced on Friday to 5 years probation and no jail time in return for what the government called “remarkable” cooperation.

Ry-Ann Hermon “provided the jury with a true insider’s view into Boyland’s criminal schemes,” prosecutors said in a letter urging U.S. District Judge Sandra Townes to impose a lenient sentence.

advertisement | advertise on newsday

Hermon began cooperating against her boss shortly after her 2011 arrest, prosecutors said, and later pleaded guilty to conspiracy, extortion and bribery. She had been caught on tape telling an FBI undercover agent that a $1,000 bribe offer made her “hot.”

Boyland was convicted of two separate bribe schemes, using a state-funded nonprofit for his political operation, and claiming phony expenses for travel to Albany.

He was sentenced to 14 years in prison, a record federal prison term for a New York legislator.