LOS ANGELES — A judge ordered Johnny Depp to stay away from his estranged wife after she accused the Oscar-nominated actor of repeatedly hitting her during a recent fight and leaving her face bruised.

Los Angeles Superior Court Judge Carl H. Moor also ruled that Depp shouldn’t try to contact Amber Heard until a hearing is conducted on June 17.

Heard said in a sworn declaration that Depp threw her cellphone at her during a fight Saturday, striking her cheek and eye. She submitted a picture of her bruised face when she applied for a restraining order Friday. She also wrote that the actor pulled her hair, screamed at her and repeatedly hit her and violently grabbed her face.

She appeared at a Los Angeles court Friday and had a bruise on her right cheek below the eye.

Los Angeles police responded to Depp and Heard’s residence Saturday, but were asked by the person reporting domestic violence not to take a report and did not provide evidence. “Officers’ investigation determined that a crime did not occur,” Los Angeles police officer Aareon Jefferson said Friday.

Heard’s filing alleges a history of abuse throughout her relationship with Depp, which started after they met on the set of the 2011 film “The Rum Diary.”

Heard’s filing Friday said the actor was high and drunk when Saturday’s alleged abuse occurred.