Britney Spears ex husband Jason Alexander has been released from the

Britney Spears’ ex-husband Jason Alexander has been released from the Napa County Jail after appearing in court

Britney Spears’ ex-husband has been released from prison after a court hearing.

Jason Alexander has been released from a Napa County jail after being arraigned in court over an alleged 2015 jewelry theft.

Alexander, 40, has been charged with allegedly stealing a $2,000 (£1,650) bracelet from his Napa County landlady.

Britney Spears' ex-husband released from prison after court hearing;  pictured in his mugshot obtained exclusively by  ahead of his court appearance on Wednesday

Britney Spears’ ex-husband released from prison after court hearing; pictured in his mugshot obtained exclusively by ahead of his court appearance on Wednesday

He appeared Wednesday via video link in Napa County Superior Court in California and was charged with “grand theft and buying/selling stolen property.”

Alexander had spent the last two months in jail in Ventura, California, after sneaking into the singer’s Thousand Oaks home on the day of her wedding to Sam Ashgari, 28.

announced on Tuesday that Alexander had been transported straight from the Ventura County Jail to Napa, where he was booked for allegedly stealing his landlady’s $2,000 diamond tennis bracelet and in August 2015 pledged at Best Collateral in Vallejo, California for $180.

A mugshot obtained exclusively by showed the 40-year-old looking mortified ahead of a court date scheduled for Wednesday morning.

An affidavit obtained by says he admitted to the theft when confronted and his name appears in the pawn shop’s records.

Alexander was arrested at Spears' home in June, hours before she was due to tie the knot with Sam Asghari

Alexander was arrested at Spears’ home in June, hours before she was due to tie the knot with Sam Asghari

According to the affidavit, he said he couldn’t get the bracelet back and offered to replace it with another, but the 55-year-old victim refused and reported him to police in February 2016.

By then, Alexander had left the area, but police issued an arrest warrant for him on charges involving aggravated theft and buying or receiving stolen property, and they were able to return the bracelet to the victim.

Alexander was transferred earlier this week from the Napa County jail in Ventura County, where he spent time after being convicted of trespassing and battery for attempting to crash Britney’s wedding, according to police documents obtained by Page Six emerges.

Alexander was arrested at the Toxic hitmaker’s home in June, hours before she was due to tie the knot with Sam Asghari, and was initially charged with stalking, refusing to leave private property, vandalism and battery, all of which he pleaded not guilty to hearing earlier this month.

Alexander married Britney in a tumultuous ceremony in Las Vegas in 2004 before their marriage was annulled 55 hours later

Alexander married Britney in a tumultuous ceremony in Las Vegas in 2004 before their marriage was annulled 55 hours later

However, last Thursday he returned to court in Ventura County, California, where he pleaded no trespassing and battery charges – a charge related to allegedly hitting a security guard – and was placed under a criminal protection order, meaning that he is not allowed within 100 yards of Britney or the member of her security team involved in the incident.

He was also credited with serving time after serving 64 days in the Ventura County Jail since his arrest.

During an earlier hearing, security guard Richard N. Eubeler alleged that Alexander – who married Britney in a tumultuous Las Vegas ceremony in 2004 before their marriage was annulled 55 hours later – tried to get through the Gimme More singer’s locked bedroom door, after making his way through the grounds of his home.

He testified, “He started reaching into his right pocket … I drew my gun and held it to my chest.”

Jason was photographed in Los Angeles in 2006

Jason was photographed in Los Angeles in 2006

Eubeler added that Alexander walked into the mansion’s playroom and followed him, closing the door behind them.

He added: “He was just screaming for Britney. He said, “Fuck it. I’m going back the way I came.”

He claimed that Alexander broke the handle of a door that Eubeler was holding shut with his foot.

Judge Worley said: “He has been determined to pose a continuing threat given the efforts he has made to fit in with this event.”