Zayn Malik has pleaded no contest to allegedly harassing ex-girlfriend Gigi Hadid and her mother, Yolanda Hadid, during a heated family argument last month at his Pennsylvania home.

The former One Direction star was charged with four counts of harassment for pushing Yolanda, 57, into a dresser and calling her a “slut.” Malik, 28, entered his plea on Wednesday and was ordered to 90 days of probation for each count for a total of 360 days, Page Six reported.

According to documents obtained by TMZ, Malik “shoved [Yolanda] into a dresser, causing mental anguish and physical pain.” He is said to have told Yolanda to stay away from his 13-month-old daughter Khai that he shares with Gigi.

Documents state Malik also allegedly yelled at Gigi during the altercation, saying, “Strap on some [expletive] balls and defend your partner against your [expletive] mother in my house.”

The documents also reveal that Malik almost got into a fight with a security guard who was present.

As part of the plea, Malik was fined and ordered to stay away from Yolanda. In addition, he will have to complete an anger management class and a domestic violence supervision program that can be terminated if all conditions of his plea are met with no violation after six months.

Before details of his no-contest plea were released, Zayn had denied striking Yolanda during the argument.

“I adamantly deny striking Yolanda Hadid and for the sake of my daughter I decline to give any further details, and I hope that Yolanda will reconsider her false allegations and move towards healing these family issues in private,” he said.

In a statement released Thursday on Twitter, he requested privacy for Khai's sake.

Gigi, 26, released a statement that same day addressing the family dispute.

"Gigi is solely focused on the best for Khai. She asks for privacy during this time," a spokesperson for the supermodel told E! News.

As for Yolanda, she has yet to publicly address the allegations.