LOS ANGELES (AP) -- "Modern Family" actress Sarah Hyland's ex-boyfriend has been ordered to stay away from the actress and not contact her for three years.
Los Angeles Superior Court Judge Andrea Thompson granted Hyland the protection from actor Matt Prokop on Thursday.
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.
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.