Legal filing: Sarah Hyland has been granted a restraining order against her ex boyfriend Matthew Prokop, pictured in June in London
A rep for Hyland provided MailOnline with a statement from her attorney Lee A Sherman: 'On September 19, 2014, Ms. Hyland obtained a Domestic Violence Temporary Restraining Order against Matthew Prokop. The documents filed speak for themselves.'
The statement goes on to assert: 'Out of respect for the court, the process and all parties, I have advised Ms. Hyland not to comment on the matter.
'We request that you respect the parties' privacy during this time.'
Acting duo: The pair have not only starred on Modern Family together but also the Disney Channel movie Geek Charming
Sarah films in Australia accompanied by her ex-boyfriend Prokop
In the court papers Hyland says it was only when her Modern Family co-star Julie Bowen stepped in that she was able to break free of 24-year-old Prokop, according to TMZ.
The actress alleges she experienced four years of abuse at the hands of Prokop during their relationship.
Hyland describes an incident where she claims she was pinned against a car during an argument with Prokop in May. During the altercation she says the young man choked her and called her a 'c***' over and over again.
'His grip was so tight that I could not breathe or speak,' Hyland said in the documents. 'I was scared and in fear for my life.'
Threatened: The 23-year-old claims in court documents that she was physically abused by Prokop during their four year relationship
In the court filing she also says she had sustained injuries with a 'very sore throat following this event.'
Hyland then describes how she got her TV mother Bowen involved to help her 'peacefully end the relationship.'
The actress, who plays Bowen's daughter Haley Dunphy on the hit ABC comedy, flew out her beau to his home in Texas earlier this year.
But when Prokop arrived and saw everyone in his house, including Bowen, he 'ran outside into the backyard and began screaming', according to the documents.
Seeking help: Prokop, who had a stint on Modern Family and co-starred with him in Disney Channel movie Geek Charming, entered rehab in August
Hyland then says that Prokop threw a 'lighter' at her, which triggered Bowen to step in and get her out of the house as she 'wasn't safe'.
She also claims that Prokop threatened to commit arson by setting one of her homes on fire and to get rid of her dog.
Following their split, Sarah says her former boyfriend 'relentlessly bombarded me with vile, threatening and emotionally disturbing texts and voice mails including his own suicide threats.'
The former couple started dating after meeting while auditioning for High School Musical 3: Senior Year in 2008. They later starred together in the Disney Channel film Geek Charming in 2011.
Helping hand: Julie Bowen reportedly aided the young star in breaking off her relationship with Prokop, pictured on an episode of Modern Family
Prokop entered rehab in August.
Hyland claims in the court documents that someone who worked at the centre contacted her when Prokop got out of rehabilitation and advised her to get a restraining order due to his mental state.
The restraining order, granted in Los Angeles, requires Prokop to stay at least 300 feet away from the actress and her dog
MailOnline has contacted Prokop's reps for comment.