A Los Angeles judge partially granted Amber Heard's request for a temporary restraining order against her estranged ex, Johnny Depp, on Friday. Heard is alleging that Depp has been abusive to her over the course of their one-year marriage.

However, the judge denied her request to keep Depp away from one of their dogs, Pistol, citing insufficient evidence.

The 30-year-old actress stayed silent as she walked out of court and into a black SUV, with what appears to be a bruise over her right eye. Heard and her lawyers are claiming that Depp inflicted the bruise on Saturday night, in documents obtained by ET. She filed for divorce on Monday.

"The judge reviewed the evidence we presented and he issued a restraining order based on the evidence he received, and there will be a further hearing in June," one of Heard's lawyers, Joseph Koenig, told reporters outside the courtroom.

Depp's divorce attorney, Laura Wasser, was in court on Friday on behalf of Depp. The actor has been out of town since Wednesday, promoting his new movie, Alice Through the Looking Glass, which opens in theaters today. The 52-year-old actor is also continuing his current tour with his rock band, the Hollywood Vampires.

"They have been having problems for quite some time," one source said. "It started a few months after they got married and it just never got better. It was extremely volatile."

"She is really young and affected by the industry and scene at times," the source added about Heard. "She is a cool girl, but Johnny is cooler and doesn't tolerate that."

Heard filed for divorce just three days after Depp's mother died after a long illness, citing irreconcilable differences and asking for spousal support. Depp filed a response on Wednesday, asking the court to "terminate the court's ability to award support" to Heard, according to court docs obtained by ET.

"Given the brevity of this marriage and the most recent and tragic loss of his mother, Johnny will not respond to any of the salacious false stories, gossip, misinformation and lies about his personal life," Depp's spokesperson told ET in a statement on Thursday.