A Bronx police officer fresh off being honored with the department’s second-highest commendation allegedly broke into a 30-year-old woman’s home that same night, told her something extremely creepy, dragged her out of her bed and beat her.

According to the New York Daily News, officer Eugene Donnelly pleaded not guilty Monday to misdemeanor charges of assault, criminal trespass and criminal mischief. He’s been without his gun and badge while remaining on limited duty since the June 10 incident.

Donnelly was honored on June 10 for heroism in apprehending a man who had allegedly fired a gun at him. He shook hands with the mayor at that event. But according to the Daily News:

Donnelly, who works at the 46th Precinct in the Bronx, tied one on to celebrate, drinking himself into a stupor. He went to a pal’s Woodlawn apartment to sleep it off. But before dawn on June 11, a 30-year-old neighbor of Donnelly’s pal was startled awake by the cop breaking the chain lock on her front door, prosecutors said. The woman told detectives the intruder, who she didn’t know, was standing beside her bed in his underwear. “Sometimes I’m a good guy, but sometimes I’m a bad guy,” Donnelly told the woman, according to a criminal complaint. Bronx District Attorney Robert Johnson said Donnelly then threw the woman on the floor and “pummeled her about the head.” Before leaving the apartment, Donnelly guzzled a container of milk he grabbed from the fridge.

“Sometimes I’m a good guy, but sometimes I’m a bad guy.” Kinda adds a whole new layer of complexity to that good cop/bad cop trope, huh?

Surveillance video allegedly showed Donnelly at the apartment; a still image from that footage was used to create a wanted poster. He’s expected back in court on Dec. 10. If convicted, he could spend up to a year in jail.