Britney Spears; Jason Alexander.Photo: Todd Williamson/Getty; Chris Farina/Corbis/Getty

Britney Spearsis safe after her ex attempted to foil her big day.
The Ventura Sheriff’s Department arrested Spears' ex-husbandJason Alexanderon an outstanding warrant Thursday as he trespassed at the Grammy Award winner’s private wedding venue hours before her planned nuptials to fiancéSam Asghari, PEOPLE can confirm.
“She’s freaking out over this,” a source close to Spears, 40, tells PEOPLE.
“So, here’s the inside scoop, guys, of the bull— wedding. Jason Alexander, what’s up,” he said, greeting the workers and even shaking one’s hand.
For more on Jason Alexander trying to crash Britney Spears' wedding, listen below to our daily podcast PEOPLE Every Day.
“My name’s Jason Alexander. Britney invited me here,” Alexander claimed. “Britney Spears invited me here. She’s my first wife, my only wife. I’m her first husband. I’m here to crash the wedding.”
splash news

“I’ve done everything I can while being out of the country to keep everyone safe,” Vicky wrote on her Instagram Story. “Thank you to all the absolutely amazing and incredible fans for alerting me of so much. You are blessings. Thank you. Everyone is safe.”
TheGloryartistwas married to Alexander, a childhood friend, for 55 hours in Jan. 2004, after the pair eloped at the Little White Wedding Chapel in Las Vegas.
Britney Spears and Sam Asghari.J. Merritt/Getty

Alexander previously pleaded guilty in January to violating an order of protection and aggravated stalking against an unidentified woman,TMZreported at the time. He was given 11 months and 29 days of probation.
Sources told PEOPLE this week that Spears and Asghari, 28,were planning for an intimate weddingon Thursday, after theyannounced their engagementin September.
RELATED VIDEO: Britney Spears Is ‘So Excited’ About Wedding to Sam Asghari and ‘Wants It to Be Perfect’: Source
“Britney started planning and dreaming about her wedding shortly after she got engaged in November,” a sourcetold PEOPLE. “She has enjoyed the planning, but also felt stressed about it.”
“It’s a huge deal to her that she is finally able to get married. She wants it to be perfect. She is so excited that she feels overwhelmed. She is very emotional,” the insider added.
Spearsbegan dating Asghariin 2016 after he appeared in her “Slumber Party” music video.
source: people.com