Action has been taken to protect Brad Pitt -- at least temporarily -- from the man who attacked him Wednesday night at the Los Angeles premiere of "Maleficent."

A LAPD spokesperson has confirmed that a temporary restraining order has been filed against Ukrainian prankster Vitalii Sediuk, who struck Pitt in the face on the red carpet. Sediuk was arrested after the incident and remains in custody, with bail set at $20,000.

A temporary restraining order is issued in emergency cases by police and lasts five days. After the five days, if Pitt wants to make the restraining order longer, he will have to take the case to court.

SEE ALSO: Film Review: "Maleficent"

The attack occurred while Pitt was signing autographs with wife and "Maleficent" star Angelina Jolie in front of the El Capitan Theatre in Hollywood. According to witnesses, Sediuk jumped security barriers to get to the 50-year-old thesp and punch him in the face.

Security guards held Sediuk and he was subsequently arrested and booked on suspicion of misdemeanor battery.

"This was an unfortunate and inappropriate incident that is being investigated by the LAPD," a spokesperson for Disney, the distributor of "Maleficent," told Variety.

Sediuk has made a reputation of pranking celebrities. Just this month, he attempted to crawl under America Ferrera's dress at Cannes. The 25-year-old also crashed the Grammys last year and groped Leonardo DiCaprio and Bradley Cooper. In 2012, he was slapped by Will Smith after Sediuk tried to kiss him during the "Men in Black 3" red carpet.

2014 Variety Media, LLC, a subsidiary of Penske Business Media; Distributed by Tribune Content Agency, LLC