LOS ANGELES (AP) — “Modern Family” actress Sarah Hyland’s former boyfriend has been ordered to stay away from the actress and not contact her for three years.

Los Angeles Superior Court Judge Andrea Thompson on Thursday granted Hyland the protection from actor Matt Prokop.

READ MORE: Person Critically Injured In Shooting By School Security Officer

A hearing on Hyland’s request for a stay-away order had been scheduled for Friday, but Prokop did not contest the order.

The 23-year-old actress accused Prokop of choking her and threatening her during their relationship, which ended in August.

Hyland didn’t report the incidents to police, and Prokop has not been criminally charged.

READ MORE: Some Calif. Residents Face Losing Fire Protection Insurance After Moratorium Protecting Them Expired

Prokop co-starred with Hyland in the TV movie “Geek Charming” and appeared in one episode of “Modern Family.” He also appeared in “High School Musical 3.”

A phone message seeking comment was left for Prokop’s lawyer, Joseph Singleton.

Related Stories:
Actress Sarah Hyland Obtains Temporary Restraining Order Against Ex

MORE NEWS: LA County Reports 5 New COVID-19 Deaths; Hospitalizations Hold Steady

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)