A homeless man was slapped with a 364-day sentence for assaulting two women after he went on a drunken rampage in the East Village in July 2018.

Carlos Munoz, 23, pleaded guilty to assault in the second and third degrees and attempted assault in the second degree under a deal Friday in Manhattan Supreme Court.

ADA Maria Luna read impact statements from two victims, while Munoz, who turned up for his sentencing late, listened and cried.

“To this day, I have nightmares of being attacked again and haven’t returned to New York since December 2018,” Luna read from a statement written by one of the women, who is a college student and dance teacher.

The victim wrote that Munoz was following her on a bicycle and she told him “to get the f—k away from me,” but he continued after her.

“About halfway down the block, the defendant runs up behind me and put his left arm around my neck and start punching me in my face with his right fist. I fell forward into my hand screaming,” the woman wrote.

The victim will return to New York in two weeks to complete her college degree, but she is still haunted by the assault.

“I’m terrified to return because I still don’t feel safe. I don’t feel safe anywhere, and it is entirely the defendant’s fault.”

Luna, who had recommended the defendant be sentenced to three years, also read a statement from Munoz’s second victim, who was attacked in a separate incident that followed the first.

“Ever since this man hit me on the head with a bike lock in New York City, I am found it exceedingly difficult to spend time in the area in which the attack occurred,” the second woman wrote.

“The event has had such a profound effect on me that it impedes my daily life.”

Munoz, through a Spanish interpreter, apologized to the court, his victims and his family.

“Please pardon me, your honor,” he said. “I’m sorry for the people I hurt.”

Judge Steven Statsinger granted Munoz’s attorney’s request that he continue treatment for alcohol abuse while he is in jail.