NEW BRUNSWICK, NJ — The former St. Rose High School baseball coach charged with child endangerment is now free, after he was sentenced to 18 months in prison but was credited for the 872 days he has already served.

Bartholomew “Coach Bart” McInerney, 51, was sentenced on August 25 in Superior Court, Middlesex County, where he had pleaded not guilty on July 10 to 10 counts of fourth-degree child endangerment, according to officials. Under the plea deal, he was not placed on probation and does not have to register as a sex offender, bringing the seven-year case to an end.

In 2010, McInerney of Spring Lake was initially found guilty of the charges, which resulted after some baseball players at the Belmar-based Catholic high school came forward in 2007 with claims that he engaged in sexually explicit conversations and text messages with him. He was sentenced to 18 years in prison, but the conviction was tossed out by an appeals court that ruled the judge did not provide proper instructions to the jury. After that ruling, the case was moved to Middlesex County.

Because fourth-degree charges in New Jersey are the lowest tier of a criminal offense, he will not be subjected to registering as a Megan’s Law sex offender, according to the state’s criminal code.