A judge issued a restraining order requiring Jason Alexander to stay at least 100 years (91 meters) from Britney Spears for three years. This comes after he attempted to crash her wedding to Sam Asghari on Thursday.

Sky News reported that the pop star’s former husband has been charged with felony stalking, trespassing, battery, and vandalism. The charges come after he turned up unannounced at the celebrity’s home in Los Angeles hours before the ceremony began.

The publication noted that Alexander pleaded “not guilty” to all charges. He is said to have attended the hearing virtually via video conference, adding that a judge set his bail at $100,000 on Monday.

BBC released a similar report, detailing what went down. As stated, police arrested Jason Alexander last week after he allegedly “disrupted” the preparations for the wedding of Britney Spears and Sam Asghari.

The 40-year-old, who is also said to be a childhood friend of the “Toxic” singer, reportedly streamed a video from inside her home. He was claimed to have posted an Instagram Live story, wherein he shared with the audience that he was there to “crash” the wedding.

Reports continued that Alexander’s video showed him walking through his former wife’s home looking for her. It is also stated that he claimed Britney Spears had invited him, saying, “She’s my first wife, my only wife.”

Security reportedly tackled the songstress’s ex following the incident. Officers from the Ventura County Sheriff’s Office later arrested and took him to a local jail.

A police spokesman consequently explained the charges. As stated, Jason Alexander “was able to find his way onto the property and was confronted by security,” and “an altercation occurred with the security officers and that’s where the battery occurred.”

The spokesperson continued, “during the altercation, an item was broken, so that’s where the vandalism comes into play.” In addition, “by being on private property, the trespass comes into play.”

On Monday, Britney Spears’ lawyer Matther Rosengart shared some details about the matter to People. He confirmed that the restraining order against Jason Alexander “was granted,” adding that “he was charged with felony stalking, and is incarcerated.”

The lawyer also acknowledged the “good work and professionalism” of the Ventura County Sheriff’s Office and the District Attorney’s Office. He extended his “thanks,” as well, to them “for the seriousness with which they are taking the matter.”

Spears and Alexander were once married in 2004. Reports said they were childhood friends, although the marriage lasted only 55 hours.

The former couple reportedly eloped at the Little White Wedding Chapel in Las Vegas in January 2004.