A Florham Park accountant who admitted arranging trysts through the Internet with 13- and 14-year-old girls who were actually Atlantic County investigators heads to a New Jersey state prison for five years.

Flickr user srqpix

Stephen Bubniak, 56, was sentenced today in Mays Landing, ending a case that started with his arrest in Hamilton in February 2011.

Bubniak pleaded guilty to second-degree attempted luring and third-degree attempted endangering on October 17 of the same year.

According to investigators, Bubniak struck up web chats with undercover detectives he mistook to be young teens in January 2011. Police say he arranged to meet a "girl" in a Hamilton Township hotel on February 3, where he was intercepted by law enforcement.

Investigators say they later learned that Bubniak had also arranged a second tryst for the day after his arrest. In the hotel room, authorities say, were gift cards that he had promised to his supposed sex partners.

Bubniak is also required to register as a Megan's Law offender and be subject to lifetime parole supervision.