Luann de Lesseps found herself in police custody on Thursday morning after attempts at agreeing to a plea deal in her alleged probation violation fell flat.

The Real Housewives of New York star was then handcuffed and escorted out of the courtroom in Palm Beach Florida, 18 months after making her first appearance in the case.

Her time in custody was brief, and she was released after an hour, at which point the new guidelines for her probation were revealed by the judge.

A court event form obtained by DailyMail.com reveals that Luann will now have to participate in weekly counseling calls with her treating psychiatrist as well as monthly in-person sessions; take an abuse medication as prescribed by her doctor; and maintain her SoberLink breathalyzer monitoring device as instructed by her probation officer.

Luann also agreed to waive confidentiality for those counseling sessions and will have to pay for her travel to and from Florida should she violate her probation in he future.

She found herself back in court after failing an alcohol test and not participating in her court-mandated counseling and AA sessions.

Luann was on probation due to events that transpired back in December 2017 at a Palm Beach hotel where she allegedly refused to leave another guest's room and then attacked and tried to escape from her arresting officer.

Prosecutors recommended probation to the judge in lieu of jail time in a deal that required Luann to enter guilty pleas to charges of battery, trespassing and disorderly intoxication.

Money can't buy you clasps: Luann de Lesseps was handcuffed in court on Thursday morning and taken into custody after appearing in Palm Beach County for a probation violation

Limousines, the party scene, adventures everyday: Luann showed little emotion during the court appearance (above prior to her arrest)

Torch song: Just 24 hours prior, Luann was all smiles, sequins and slit at the Real Housewives reunion

Luann's appearance on Thursday as a far cry from the day before, when she posted images from the Real Housewives reunion.

The annual gathering tends to be long, tense and fashionable affair.

Luann opted to arrive this year in a black sequin gown with a very long slit.

On Thursday though it was jeans, flats and a blazer.

ABUSE MEDICATIONS ANTABUSE: The first major alcohol abuse medication. The drug works by causing a severe adverse reaction when someone taking the medication consumes alcohol. Most people will vomit if they mix even a few sips of alcohol with the medication. NALTREXONE: An extended-release, injectable that works by blocking the 'high' that people experience when they drink alcohol or take opioids. CAMPRAL: A pill that reduces the physical distress and discomfort people experience when they quit drinking. Advertisement

Luanna appeared stoic in court and later said to DailyMail.com in a comment: 'I’m glad the judge was understanding once made aware of the evidence provided and I was then released. I am now looking forward to completing my remaining few months of probation. I want to put this behind me and move forward with my life.'

Last month Luann had admitted to her probation officer that she indulged in 'two glasses of mimosas' following one of her recent cabaret shows in Chicago.

She was swiftly handed a court date for violating her terms.

According to a violation report from the Florida Department of Corrections, de Lesseps was first given a 'breath test', which she failed, by her New York probation officer on April 21. She admitted to drinking two days later during an April 23 meeting.

Two months ago Luann was also found in violation of probation for 'failing to attend two AA meetings per week as directed by the court.' The legal papers show that the Connecticut native only has documentation for attending a total of five AA meetings.

When her probation officer recommended that she enroll in treatment or wear an ankle monitor, she dismissed both suggestions, saying she was too busy 'with her touring schedule' to do inpatient treatment while also claiming an alcohol ankle monitor was too 'intrusive.'

'The subject has not made herself an active participant in her rehabilitation and shows signs of denial that she has a sobriety issue,' her probation officer went on to note in their violation report.

The mother-of-two - who lost her Countess title when she married Tom D'Agostino Jr. for eight months in December 2016 - had been under supervision for six months, and is also supposed to complete community service but has only done half of her required time.

This is just the latest embarrassing development stemming from her arrest back in 2017, just days before Christmas.

Officer Robert Mastrangelo wrote in his report that he arrived to room 407 at The Colony Hotel when security guard Carlos Lopez called to report that de Lessesps and an unidentified male had broken into another guest's room and were refusing to leave after he discovered them in bed together.

That mystery man had fled the scene by the time Officer Mastrangelo showed up at the scene, but de Lesseps was with another woman, her friend Julie Marie Olson.

'It should be noted that both smelled of an unknown alcoholic beverage, had slurred speech and appeared to be highly intoxicated,' stated the affidavit.

'I asked both females to exit the room, Olson left however de Lesseps refused to leave and locked herself in the bathroom.'

De Lesseps and Olson had been seen earlier in the evening while getting ready to go out in video posted to the reality star's Instagram account.

The Real Housewives of New York star can also be seen smiling alongside Olson in a photo posted in March 2017.

'Last weekend with Tom and Luann D'Agostino on their boat! Fabulous time with the best couple ever!!! BFF's! Luann and I go back to the 90's when we were modeling and doing television shows together in Milan, Italy! Amazing memories ... Thank you, Lu!' wrote Olson.

That photo, which shows the two woman out on the water in their bathing suits, appears to dispute de Lesseps' claim that she had not returned to Palm Beach since her wedding to D'Agostino last New Year's Eve.

Girl code:

Hot water: It was reported earlier this month that the Bravo star was in trouble for drinking a couple of mimosas - the popular brunch cocktail made of champagne and orange juice

The couple celebrated their nuptials with a bridal brunch the next day, which was held at the same hotel where Luann was arrested on Sunday.

De Lesseps' charges stem entirely from her treatment of the police officers who arrived on the scene and tried to get her out of the room over the weekend and into her own, which was one floor below in 327.

Officer O'Leary eventually opened the bathroom door to try and detain de Lesseps according to the affidavit, at which point she 'shoved Officer O'Leary with an open palm to the chest, then slammed the door on Officer O'Leary's face, striking him in the forehead.'

She resisted again as Officer O'Leary placed her in handcuffs, and managed to get out of the shackles once she was in the patrol car.

De Lesseps 'attempted to exit the vehicle' at thsat point, and as she was pout back in and cuffed once more she told Officer Mastrangelo: '"i'm going to f***ing kill you.'

At the same time she 'tried kicking the door to keep it from closing.'

She was taken to the station at that point, telling both officers along the way that she was 'going to f***ing kill you all.'

The reality star, 52, arrived at the Palm Beach Courthouse just after 9am the day after the incident, almost eight hours after she was taken into custody and booked by police.

The Real Housewives of New York star got no sleep it seemed as she stood in front of the judge with her limp and greasy hair covering her face, make-up smeared and wearing the same soiled dress she had on Saturday night when she first hit the town.

At one point during the proceedings de Lesseps attempted to respond when Judge Ted Booras mentioned she might have a drinking problem, but was quickly told to remain silent.

'Don’t say anything,' ordered Judge Booras, who seemed concerned that de Lesseps might incriminate herself with her response.

Judge Booras informed de Lesseps that she needed to hire a lawyer for the 'serious charges' she is facing, just before releasing her from custody.

De Lesseps was told she could return to her home in New York because this was her first offense according to the judge, who also allowed her to forego posting any bail and instead released her on her own recognizance.

'I don’t think it would be that hard to find you,' said Judge Booras of the Housewives star, who had been filming the upcoming season of her show just days before in New York City.

A few hours after her initial court appearance, de Lesseps addressed her arrest on Twitter.

'I want to offer my most sincere apologies to anyone that I might have offended with my behavior,' wrote de Lesseps.

'This was my first time in Palm Beach since my wedding and being here brought up buried emotions. I am committed to a transformative and hopeful 2018.'

One source claimed earlier this year that de Lesseps' New Year's Eve nuptials were less about true love and more about an aging divorcee desperate to secure her ever-loosening grip on reality stardom.

A close friend of D'Agostino told DailyMail.com that it was Tom who filed for divorce after growing tired of being cuckolded by his new wife during their brief marriage.

'It has been really difficult for Tom because he did love her,' said his friend.

'But she only married him because she was becoming irrelevant on the show and needed a new story line.'

And as D'Agostino's friend explained, that was still just one of the couple's many problems.

'She cheated, she was unfaithful, she was prone to violent outbursts,' revealed the friend, making their way through a laundry list of accusations.

Violation: According to a violation report from the Florida Department of Corrections Lesseps was first given a 'breath test', which she failed, by her New York probation officer on April 21

Those violent outbursts allegedly included de Lesseps biting D'Agostino days before their wedding and leaving him covered in blood when she scratched his cheek at a posh Upper East Side eatery in July.

‘It doesn’t take much for her to punch, bite, slap or scratch him,' noted the friend, who described de Lesseps' behavior as 'bats*** crazy' at times.

Another friend who knows both members of the couple tells DailyMail.com that it was clear from the beginning this romance was made for television.

'Stevie Wonder can see what Luann did here,' jokes the friend of the estranged pair.

'She knew she’d had a very boring season, except for drunkenly falling into the bushes in Mexico, so she needed something to ensure Bravo cast her for another year.'

The friend then added that de Lesseps has been holding on to her position as one of the show's leading ladies with an iron grip ever since she was demoted back in season six.

'She was downgraded a few years back and it nearly killed her being a friend of the Housewives rather than a fully-fledged cast member,' revealed the friend of the couple.

'If she’s filed for divorce before the reunion was filmed in mid-July, she would’ve had to discuss it. So she’s filed now after the reunion, so she’ll have a full season to discuss it next year.'

And while some may find the entire scenario to be a bit uncouth, the friend applauded Luann for her tenacity.

'It’s a very smart move by the nurse from Connecticut. No one hustles better or is more cunning than Luann,' said the friend.