A WANNABE rapper who throttled his girlfriend during a violent rampage which lasted more than an hour has been released from jail on the day of his sentence.

Sam Pearce used "persistent intimidation" when he attacked his partner in her bedroom during the early hours.

But the 26-year-old, who was handed a 15-month jail term, was sent home hours after being sentenced as he had already spent more than eight months in custody.

Pearce, who was convicted of battery eight years ago, sobbed as he was sentenced, mumbling to the court "I'm really ashamed".

Sentencing at Oxford Crown Court on Monday, Deputy Circuit Judge Patrick Eccles QC said: "It must have been the most astonishingly frightening experience for her and on top of that you humiliated her by refusing to let her leave the room.

"It's very worrying that you behaved in this way and should you behave in this way in the future, you should not expect any mercy from the courts.

"It is of great concern that on your mobile phone [which was] seized, were found examples of your boasting and glorifying of your acts of domestic violence against your partner and women generally."

The court heard officers discovered videos of Pearce on his phone, including one of him rapping he would "strangle" a woman.

In one video, Pearce, who was also handed a restraining order forbidding him from going to his victim's Headington home, was heard rapping: "I grab her here and there, might pull on her hair."

Prosecutor Sarah Ellis told the court the victim was awoken by the defendant when he got on top of her at about 5.30am on August 9, 2015.

She said Pearce then squeezed his hands around her throat, throttling her throughout the attack.

The prosecutor went on to say the attacker had the woman's head between the bars of the bed, talking about people she may have been seeing and messaging.

Ms Ellis said Pearce also threatened to "bash" her head against the wall, forbidding the "screaming" victim from leaving the room.

She added Pearce also flung the woman in her 30s on the floor before spraying aftershave in her face and leaving her to sleep in another room.

The prosecutor said the victim later managed to flee to her mother's house.

Ms Ellis said the woman, who suffered with post-traumatic stress disorder after the attack, now prefers to sleep on her sofa.

Police initially arrested the wrong man as Pearce used the fake name "Leon" with the victim.

But he was arrested after he spat on her when he spotted her walking in Oxford and asked why she had contacted officers on January 5.

Defence barrister Clare Wade said Pearce was subject to violence during his childhood, leaving home at 16 with no qualifications.

She said he had "saved" the victim from coming to court and giving evidence by admitting assault occasioning actual bodily harm and common assault.

Pearce, of no fixed abode, must also pay a victim surcharge.