A Dunfermline man has been jailed after kicking at doors in the flats where he lives.

Robert Hooper, 49, of Broomhead Drive, appeared at Dunfermline Sheriff Court by video-link for prison.

He admitted that on January 8 at Broomhead Drive, he acted aggressively, repeatedly shouted, swore, repeatedly kicked at doors and tried the handles of doors.

On January 9, he breached bail undertaking conditions by attending at Broomhead Drive.

He also admitted that on July 18 last year, at Woodmill Road, Dunfermline, he repeatedly attempted to open the doors of cars and tried to force open a locked vehicle with intent to steal.

On the same day, he was found in a van at Old Mill Court, Dunfermline, without lawful authority and whereby it could be inferred he intended to steal.

Sheriff Susan Duff jailed Hooper for eight-and-a-half months.