The two Bronx cops who beat a 17-year-old in an alley in 2011 are headed to jail for a month.

A judge sentenced Jose Ocasio, who has since resigned from the NYPD, and Joseph Murphy, who is still on the force, to 30 days imprisonment for punching and kicking Tyre Davis outside the 46th Precinct station house, the Daily News reported. The attack came after the officers processed Davis on a disorderly conduct charge for commenting on the odor of dog dung coming off one of their shoes.

"It smells like doo-doo," Davis remembered saying to his friend as they walked down the street.

He said it was only then that he realized there was a uniformed cop scraping poop off his shoe.

"I was like, 'Oh, man, why did I say that?' " he told a reporter at the time.

The beatdown was captured on surveillance video. Murphy and Ocasio were found guilty of harassment and attempted assault last year, but cleared on weightier assault charges because Davis wasn't seriously injured, according to the Daily News.

An NYPD rep said only that Murphy is suspended, declining to answer whether he could be reinstated, or if he is still being paid.

“Officer Murphy is deeply disappointed,” his lawyer, Stephen Drummond, told the News.

Drummond said Murphy is planning to appeal. Police union lawyer Stuart London, who represented Ocasio, did not immediately return a phone message requesting a comment.