A Lehigh County man accused of barricading himself inside a hotel has learned his fate.

Matthew Lerch pleaded no contest to simple assault in court Tuesday, according to court documents. A number of other charges were withdrawn.

Lerch barricaded himself inside the Knights Inn on Steelstone Road in Hanover Township, Lehigh County. in January, police said.

Part of the hotel had to be evacuated as a precaution, but no one was hurt.

After he entered the plea, Lerch was sentenced to two years' probation.