A teenager caused almost £160,000 of damage when he set a primary school on fire.

The 17-year-old, who can't be named for legal reasons, targeted Gowanbank Primary in December in Pollok, Glasgow in December 2016.

He and two others were spotted going into the school through a window then setting something alight.

The trio fled the scene, past the house of the local resident who witnessed their crime.

Glasgow Sheriff Court heard £157,595 worth of damage was caused to the school as the fire ripped through it.

The 17-year-old, from Pollok, pleaded guilty to wilfully setting fire to the school causing extensive damage to the property and furniture, on December 7, 2016.

Procurator fiscal depute Mark Allan said "About 5.30pm on December 7, 2016, a local resident saw the accused and two others walk past his house in the direction of the primary school.

"One of them was carrying a green petrol canister.

"All of them were seen to enter the grounds and access was gained to the school through a window."

The trio were seen setting something alight which was thrown into the school and ignited.

Mr Allan said the three then escaped and made their way past the same neighbour's house again.

The emergency services including police and fire service were at the scene by 6.05pm and "five pumps were required to bring the blaze under control".

The green petrol canister was found outside the window where the accused had climbed into the school.

He was tracked down on December 17 and cautioned and charged, and made no reply.

Photographs of the damage caused to the school were shown to sheriff Paul Crozier, who asked for more information when the case next calls, including how the damage affected the running of the school and the pupils at it.

Sentencing was deferred until October for reports.