A Hawaii judge has granted a couple's request for a temporary restraining order against Ezra Miller, an actor known for playing "The Flash" in "Justice League" films.

The couple filed a petition for a temporary restraining order Tuesday, alleging that Miller burst into their bedroom and threatened them in Hilo, a small town on the Big Island. The petition also accused Miller of stealing some of their belongings, including a passport and wallet.

‘THE FLASH’ STAR EZRA MILLER ARRESTED AFTER HAWAII KARAOKE INCIDENT

This photo provided by the Hawai'i Police Department shows actor Ezra Miller who was arrested and charged for disorderly conduct and harassment Sunday after an incident at a bar in Hilo.

This photo provided by the Hawai'i Police Department shows actor Ezra Miller who was arrested and charged for disorderly conduct and harassment Sunday after an incident at a bar in Hilo. (Hawai'i Police Department via AP)

The judge's order, filed in court Wednesday, said it was necessary to grant the couple's petition to prevent harassment.

CHRIS ROCK HAS LOW-KEY NIGHT AT POSH BOSTON HOTEL AFTER FIRST SHOW SINCE OSCARS

Days earlier, Miller allegedly harassed patrons at a karaoke bar. Late Sunday, police were called to Margarita Village in Hilo, where they said Miller yelled obscenities, grabbed a mic from a singing woman and lunged at a man playing darts.

In a separate incident, a Hawaii judge has granted a couple's request for a temporary restraining order against Miller.

In a separate incident, a Hawaii judge has granted a couple's request for a temporary restraining order against Miller. (Photo by Gregg DeGuire/FilmMagic,)

"The bar owner asked Miller to calm down several times to no avail," police said in a news release.

Miller was arrested at the bar shortly after midnight Monday and charged with disorderly conduct and harassment. Miller was released on $500 bail.

The couple filed a petition for a temporary restraining order Tuesday, alleging that Miller burst into their bedroom and threatened them in Hilo.

The couple filed a petition for a temporary restraining order Tuesday, alleging that Miller burst into their bedroom and threatened them in Hilo. (Photo by David M. Benett/Dave Benett/Getty Images for Alexander McQueen)

Neither Miller nor the actor's representatives could immediately be reached for comment Thursday.

CLICK HERE TO GET THE FOX NEWS APP

Miller is ordered to appear at a court hearing for the temporary restraining order against harassment in Hilo on April 13.