SOLEBURY, Pennsylvania (WPVI) -- Musician Zayn Malik has pleaded no contest to charges that he harassed his girlfriend - supermodel Gigi Hadid - and her reality TV star mother during a violent Sept. 29 argument at the family's home in Bucks County, Pennsylvania.
The former One Direction singer was accused of grabbing Yolanda Hadid and shoving her against a dresser, according to court documents obtained by ABC News and the Associated Press. Malik engaged in "continuous cursing" at Yolanda Hadid, the documents said, calling her an "f--- Dutch sl--" and telling her to stay away from his daughter.
Malik, 28, also told Gigi Hadid to "defend your partner against your f--- mother in my house," according to charging documents filed in Bucks County. He also tried to fight a man named John McMahon, identified as a security guard, who was also at the house, the documents said.
Malik entered a plea to four summary counts of harassment Wednesday. The plea means that Malik refused to admit guilt but accepted the punishment.
A judge sentenced him to 90 days of probation on each count, or nearly a year total. He must complete an anger management class, and be screened for and "if approved," complete a domestic violence program.
He was also ordered to have no contact with Yolanda Hadid or McMahon. Probation could be lifted in six months if Malik satisfies the conditions, according to documents.
Malik addressed the charges on Twitter, writing that he "agreed to not contest claims arising from an argument I had with a family member of my partner's who entered our home while my partner was away several weeks ago." He complained the case had been leaked to the media and called it a "private matter."
Malik and Gigi Hadid, 26, have a 1-year-old daughter together. The couple had been dating off-and-on for several years. She has become one of the world's most in-demand models and he was the first to leave One Direction to strike out as a solo artist.
The Associated Press contributed to this report.