Katie Price has pleaded guilty to breaching a restraining order after sending a foul mouthed rant to ex Kieran Hayler about his fiancée.
The mother-of-five admitted she sent the "vile and nasty" message aimed at Michelle Penticost in a U-turn, after previously denying the claims.
The 44-year-old arrived at Lewes Crown Court hand in hand with fiancé Carl Woods to enter the formal plea.
Judge Stephen Mooney, who addressed Katie and her counsel following the plea, warned her that she is "at risk of going to prison" after admitting to breaching a restraining order.
Speaking in court, he told her: "Clearly you have accepted responsibility for an offence."
And he continued: "That means you are at risk of going to prison."
She is due to return to court on June 24 for sentencing.
Today, the former glamour model stunned the court with her U-turn after previously pleading not guilty to the charge.
Last month, Katie elected for a crown court trial that would have a higher sentence and jury trial when she appeared at Crawley Magistrates' Court.
District Judge Amanda Kelly previously warned her she is in "grave danger" of going to prison if she is convicted.
She faces a maximum sentence of five years in jail.
The ex-glamour model messaged Kieran: "Tell your c****** w***e, piece of s**t, girlfriend not to start on me.
"She has a restraining order so shouldn't try to antagonise me as she is in breach and I'm sure she doesn't want people knowing that she was having an affair with you behind my back. That gutter s**g."
The reality star spent 12 hours in police custody after being arrested at her mucky mansion in January.
Katie is already on a 16-week suspended sentence for drink driving after she flipped her BMW in a horror smash in last year.
The businesswoman has two children with ex Kieran, who she was married to from 2013 until 2021.
They met after being introduced by pals and then struck up conversations on Blackberry Messenger in November 2012.
Two months later they married in the Bahamas on January 16, 2013, after Kieran proposed. It was Katie's third marriage, after cage fighter Alex Reid and singer Peter Andre.
Get the latest celebrity gossip and telly news sent straight to your inbox. Sign up to our weekly Showbiz newsletter here .