In dramatic scenes, the former Legislative Councillor, who was late last year convicted of having sex with a 12-year-old prostitute, was struck by relatives of the girl as he was being led from Hobart's Supreme Court this afteroon.

Martin, 54, was found guilty of having sex with a child by a jury late last year after he hired the girl who was being prostituted by her mother and mother's friend in late 2009.

Martin was leaving the Supreme Court in Hobart after being handed a wholly suspended jail term for possessing child pornography.

The girl's grandmother and aunt shouted abuse at Martin as he entered St David's Park just before 4.30pm.

The Parkinson's Disease sufferer was hit in the head with a handbag, struck with the grandmother's walking stick and apparently punched before security guards and his defence team managed to free him from the fracas and lead him out of the court to safety.