Less than a week after actress Amber Heard filed for divorce from Johnny Depp, a judge has granted Heard's request for a temporary restraining order after she accused Depp of domestic violence.

In court Friday afternoon, the Los Angeles Superior Court judge ruled that Depp should stay at least 100 yards away from his estranged wife and have no contact with her until a follow-up hearing on June 17, the Los Angeles Times reports.

Heard, 30, who showed up at the courthouse with bruising on her face, alleged in a sworn declaration that Depp, 52, hit her and struck her with a cellphone on Saturday, the Associated Press reported. According to other reports (including TMZ, which first broke the news of the restraining order), Heard reportedly showed the judge photo evidence from previous fights that led to physical abuse and wrote in a statement, "I live in fear that Johnny will return to (our house) unannounced to terrorize me, physically and emotionally."

People magazine reports that this restraining order comes after cops were allegedly called to Depp's apartment in Los Angeles on Saturday night. According to Variety, law enforcement officials said that police were called to a "domestic dispute" and "investigators found no evidence of an assault." Heard did not file charges. On Monday, she filed for divorce, citing irreconcilable differences.

TMZ reports that the judge gave permission for Heard to stay in her and Depp's home, but rejected requests for spousal support and requiring Depp to attend anger management classes.

Representatives for Depp and Heard did not return requests for comments. Earlier this week, a representative for Depp told People magazine, "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. Hopefully the dissolution of this short marriage will be resolved quickly."

The AP reports that Depp is currently in Portugal for a show with his band, the Hollywood Vampires. Depp is one of the highest-grossing movie stars in the world thanks to his "Pirates of the Caribbean" series and other films, from "Charlie and the Chocolate Factory" to "Finding Neverland," for which he earned one of his three best-actor Oscar nominations. Most of his recent movies, however, such as "The Tourist" and "Mortdecai" have been high-profile flops. His latest franchise film, "Alice Through the Looking Glass," opens this weekend.

Heard, known for roles in the movies "Friday Night Lights" and "Magic Mike XXL," met Depp on the set of the 2011 film "The Rum Diary." The couple wed in February 2015 in a secret ceremony in Los Angeles before a second service on Depp's private Bahamas island. This was Depp's second marriage, as he was married briefly in the mid-1980s to makeup artist Lori Anne Allison. He dated girlfriend Vanessa Paradis for nearly 14 years and had two children before the couple split in in 2012.

A few days before Heard filed divorce papers, Depp's mother, Betty Sue Palmer, passed away at age 81. This led to warring stories in the tabloids, as TMZ initially reported Depp's family "hated" Heard (before following up with a contradictory story) while People magazine wrote that Heard was close to Depp's mother before her death.

Though the couple was a tabloid staple, they achieved notoriety last month for the most awkward apology of all time: They were forced to film a short video saying they were sorry for providing false immigration documents for their dogs when they brought their pets to Australia, where Depp was filming the next "Pirates of the Caribbean" film.