A teenager who hurt two police officers as he resisted arrest during a melee near Times Square will serve no jail time.

New York Supreme Court Justice Carol Berkman allowed Jermaine Parker to plead guilty Thursday to felony assault and weapons possession. If he is not arrested for a year, the charges will be reduced to misdemeanors.

The judge says the 19-year-old acted out of stupidity during the April 4 mayhem. She says he had no criminal record and is not part of a gang.

More than 30 people were arrested that day as hundreds poured into the streets in midtown, shouting and throwing punches.

Two officers tackled Parker. One suffered a concussion and the other a sprained wrist as they fell.

A police union tells the Daily News the plea deal was a slap on the wrist.