SMITHTOWN - The Smithtown highway superintendent pleaded guilty Friday to charges of misconduct and falsifying documents about a town paving project.

Prosecutors said Glenn Jorgensen paved some roads in freezing temperatures during the winter of 2014, which violated state regulations. They say he then covered up the incident.

As part of a plea deal, Jorgensen can either serve four months in jail or complete 560 hours of community service.

While Jorgensen was in Riverhead court Friday morning, a letter was delivered to Smithtown Town Hall tendering his resignation as highway superintendent.

In a statement, Town Supervisor Patrick Vecchio said, "I feel terribly sorry for him and for his family." Councilman Bob Creighton said the ordeal cast a cloud over town hall.

"I think he was a very good highway superintendent. I think he might have been careless in some of the things that he did," said Creighton.

News 12 is told Smithtown Deputy Highway Superintendent Robert Murphy will immediately assume Jorgensen's duties.