A man ploughed into a woman in a getaway car after the armed gang he was with ambushed a flat during a suspected revenge attack.

Martin Duffy was part of a gang wearing devil, clown, wolf and pig masks, who ambushed a flat.

Lisa Revie was left horrifically injured and a man was was with hurt after confronting them as they made a getaway from the property in Paisley, Renfrewshire in May last year.

The 36-year-old was mowed down as Duffy reversed a Mini at speed before going over her as she lay on the ground.

She ended up in a coma, suffered two cardiac arrests and is unlikely to fully recover.

Duffy was jailed at the High Court in Glasgow for six years on Thursday.

The 31-year-old had earlier pleaded guilty to a charge of culpable and reckless driving by leaving Ms Revie injured to her permanent impairment and danger of life.

The judge said the motive for the attack "appears to have been revenge for something" and that Duffy's victim suffered "life-threatening injuries which have had a significant effect on her life and will continue to do so".

Duffy's partner had asked a friend for a loan of her Mini, claiming he needed to see his sick child in hospital.

Instead the vehicle was used to drive to a flat in Blackstoun Oval, Paisley.

Prosecutor Allan Nicol told the court: "Witnesses were returning (to the property) when they noticed a white Mini.

"The occupants all had their faces covered with masks described as a pig, a clown, a wolf and the devil. The people from the car then left it and chased them."

The group being pursued managed to get inside before the door was struck with a hammer and a knife.

Ms Revie then decided to go back out, causing the gang to flee. Two of them jumped back into the Mini.

She then swung open the driver's door and punched Duffy, who was still wearing his mask.

Her friend David Soutar was knocked to the ground as Duffy tried to speed off. Ms Revie was then struck by the door of the car as it reversed.

Mr Nicol told the court: "She was thrown into the air and cracked her head as she landed. She fell under the car, causing her to become trapped.

"The vehicle was then driven forwards and over her lower half as she lay on the ground."

Duffy escaped before the car's owner was told the Mini had been left near her house. The woman feared her smashed car had been vandalised when she went to collect it.

Ms Revie meantime was placed in an induced coma for 24 hours. She suffered a brain injury as well as extensive fractures to her skull, ribs, pelvis and both ankles.

Two weeks after the hit-and-run, she was returned to intensive car after two cardiac arrests and was only finally able to leave hospital in July last year. The hearing was told she continues to be badly affected.

She needs crutches, has memory loss and double vision as well as ongoing pain in her head and neck. The court heard it is "unlikely" she will make a complete recovery.

Mr Nicol: "Her family report she has become easily frustrated with her situation."

Duffy, of Newton Mearns, East Renfrewshire, also admitted in court to injuring David Soutar to the danger of his life.

He pleaded guilty to a further charge of behaving in a threatening and abusive manner as well as failing to show at a previous court date.

Judge Lord Bannatyne told Duffy: "The motive for this appears to have been revenge for something.

"Your victim sustained life-threatening injuries which have had a significant effect on her life and will continue to do so."