A man assaulted his former partner's fiance outside a primary school as they dropped off his daughter on her first day.

Mark Gorthy knocked Scott Wallace unconscious at the entrance to the Dundee school on the first day of term on August 18 last year.

Mr Wallace, the fiance of Tracey Duncan, was pushing a buggy with a six-month-old baby inside when he was attacked.

Gorthy had turned up at the school to join Ms Duncan in seeing off the couple's child.

But he became angry when he saw Mr Wallace. He said: "I don't even know why you are here."

A court was shown CCTV footage showing Gorthy smashing Mr Wallace to the ground.

Gorthy is then seen stamping on Mr Wallace's head before he is tackled by bystanders.

Fiscal depute Eilidh Robertson told Dundee Sheriff Court that when staff started calling out children's names to bring them in to class Gorthy said: "I'm gonna get you, it's the biggest mistake you'll ever make."

She said: "The accused then approached Mr Wallace, who was holding onto a buggy with a baby in it, and punched him once to the face, which immediately knocked him to the ground and rendered him unconscious.

"Whilst he was on the ground, the accused approached Mr Wallace and stamped on his head.

"This happened in full view of both a number of parents and of a number of small children who became very distressed.

"Mr Wallace was unconscious for a short time only but remained lying on the ground, bleeding quite significantly from his nose, for a period of around two minutes.

"A number of adults, including the deputy head teacher and Ms Duncan, assisted in trying to diffuse the situation, and the accused left the area of the locus, albeit whilst shouting and gesticulating towards Ms Duncan and complainer as he did so."

The court heard Mr Wallace was taken to hospital by ambulance where he was treated for a broken nose as well as cuts and swelling.

Gorthy, 31, of Anton Drive, Dundee, pleaded guilty to assault to severe injury, disfigurement and impairment.

Defence solicitor advocate Jim Laverty said: "Custody is very much an issue which I will require to address the court on at length and he is well aware of that."

Sheriff Lorna Drummond QC deferred sentence until next month for social work background reports and released Gorthy on bail meantime.

She said: "You don't have a record for which you have been sent to prison and I have to call for a report."

Download: The STV News app is Scotland's favourite and is available for iPhone from the App store and for Android from Google Play. Download it today and continue to enjoy STV News wherever you are.