Britney Spears' pre-wedding panic attack

On Thursday Britney Spears married Sam Asghari in what was an eventful,

dramatic, difficult but ultimately happy occasion for the star.

Spears, 40, revealed on Friday that in the build up to the big moment, she had a panic attack.

It is not clear yet whether this was before or after her ex-husband tried to crash the party.

Prior to the ceremony, Spears' former husband Jason Alexander,

to whom she was wed for less than three days after a Vegas ceremony in 2004, had tried to interrupt proceedings.

Alexander, 40, was detained and later arrested by police on four charges,

including trespass, and the couple were quickly granted a restraining order.

A childhood friend of the star, he was seen on video footage declaring his intent to crash.