Liam McCallum, of Dick Crescent, Burntisland, Fife, appeared from custody before Sheriff James Williamson at Kirkcaldy Sheriff Court.
McCallum, 21, admitted that on December 11 last year at Larbert Station he ran up and down a live railway line, shouted, swore and uttered threats of violence towards police officers while on bail.
He also admitted that on December 9 last year at Dick Crescent in Burntisland, he repeatedly shouted, swore, acted aggressively and threatened violence while on bail.
He admitted on the same date, in the same place, he assaulted a woman by striking her on the body with his body and on the same date and in the same place he admitted acting in a racially aggravated manner causing alarm and distress to a man as he shouted, swore, uttered offensive remarks and threats of violence towards him.
On June 29 last year at an address in Dick Crescent, Burntisland, McCallum admitted shouting and swearing at a neighbour uttering threats of violence towards her while on bail. He further admitted other offences dating back to 2019.
Sheriff Williamson told him at the outset he was minded to send him to jail for 420 days, but instead deferred sentence until March 4, but he warned him: “If you misbehave again in the community the starting point will be 420 days in jail and you will be looking at two years and don’t think this is an idle threat.”
McCallum was given bail on special conditions and placed on a curfew between 7pm and 7am.