Coronation Street bosses have fired actor Chris Fountain from the show after video clips of him delivering foul-mouthed raps – including lyrics about rape – emerged online.
Fountain, who played Tommy Duckworth, was initially suspended from the soap last week for the videos, which were recorded as rap alter-ego The Phantom and featured him wearing a Halloween mask.
He said the videos were recorded over a year ago when he was experimenting with music.
An ITV spokesman said: "Chris Fountain's contract with ITV has been terminated as a result of the unacceptable comments he made in a number of online clips."
In a statement, Fountain said: "I completely understand that ITV had no choice but to terminate my contract today.
"I have had two wonderful years playing Tommy Duckworth with only happy memories of my time on Coronation Street.
"I am mortified that I have brought so much embarrassment to my colleagues and employers these last few days."
Fountain continued: "My biggest regret, however, is not to do with losing my job, but that I have hurt and let down so many people including those in a vulnerable situation and I am so very deeply ashamed of this.
"The lyrics that appeared online were influenced by a style of hip-hop that I was experimenting with at a private freestyle session and blurted out in a moment of madness.
"There is absolutely no excuse - I take complete responsibility for my actions - but they were in no way thought out or represent at all my attitude towards women, rape and violence."
He added: "I just want to apologise from the bottom of my heart to everyone who I have offended or upset.
"I am also mortified to have put my mother, grandad and girlfriend through the last few days, which they are hurt and bewildered by and so do not deserve. I am so sorry.
"Once again, to everyone who I have let down and hurt, I am deeply sorry."