A TRANENT man has admitted behaving in a threatening or abusive manner by sending messages and videos of himself while standing on a railway track.

Philip Yorkston attended at Prestonpans Railway Station and made his way onto the tracks during an incident earlier this year.

Yorkston then began repeatedly sending the messages and footage of himself to a woman living in Musselburgh.

The 45-year-old was arrested after police had been contacted and he appeared at Edinburgh Sheriff Court last Thursday.

Yorkston, of Haddington Road, pleaded guilty to the charge and to a second offence of trespassing on land belonging to Network Rail and in dangerous proximity of railway lines on April 11.

The Crown accepted a not guilty plea to Yorkston engaging in a course of conduct that caused the woman fear and alarm on various occasions in March.

Sheriff Frances Gill deferred sentence for the preparation of social work reports to later this month.