SOMERVILLE -- A Plainfield police officer caught receiving stolen property in a 2015 undercover sting was sentenced to two years probation Friday in Somerset County Superior Court.

Vincent Saggese (Somerset County Prosecutor's Office)

Vincent Saggese, 34, of Metuchen, admitted to meeting with an undercover agent from the Somerset County prosecutor's office twice between March 29 and April 17, 2015, to negotiate the sale of stolen computer equipment and KnCMiner Neptune computers, which are used to "mine" for the electronic currency, Bitcoin.

Bitcoin mining is the process of solving certain math problems in exchange for the currency.

Under a plea agreement, Saggese plead guilty to third-degree receiving stolen property. Two counts of second-degree official misconduct were dismissed.

Judge Bradford M. Bury also sentenced Saggese to serve 50 hours of community service and ordered that he forfeit his job with the Plainfield Police Department.

Furthermore, Saggese can't hold another public office in the state.

Assistant Prosecutor William Guhl handled the case for the state.

Saggese, who was also a member of the Union County SWAT Team, had been on the force for 10 years and earned an annual salary of $85,924, according to state records.

In addition to selling the stolen equipment, Saggese also accepted $250 from the undercover agent in exchange for providing the detective with an address of a license plate owner and to also provide a photo of that person, authorities previously stated.

Dave Hutchinson may be reached at dhutchinson@njadvancemedia.com. Follow him on Twitter @DHutch_SL. Find NJ.com on Facebook.