An Edgartown man accused of stealing more than $30,000 in worker’s compensation insurance money pleaded guilty in Dukes County Superior Court Thursday.

Gregory Pyden, 56, pleaded guilty to four counts of workers compensation fraud, and four counts of larceny. He was sentenced to probation by judge Doug Wilkins and ordered to pay $37,488 restitution for his role in the scheme.

According to the Massachusetts Attorney General’s Office, Mr. Pyden stole the money from the A.I.M.  Mutual Insurance Company and the state worker’s compensation assigned risk pool from 2016 to 2020.

Mr. Pyden, who owns Rockwell Masonry, listed himself as the sole employee, but in reality, he hired several employees that he did not report on his insurance audit, according to the attorney general. Those hidden workers were not covered by worker’s compensation insurance.

Mr. Pyden was indicted by a Dukes County grand jury in August. He has been ordered to give monthly restitution payments of $1,042 and will be on probation for three years