A man accused of injuring a linesman by throwing a coin at him during a Rangers game has been banned from Scottish football grounds until he is convicted or cleared.

Stuart McGaughay was warned that he faced being sent to prison if he breached the special bail condition forbidding him from attending any regulated football game.

The 30-year-old from North Lanarkshire appeared from custody on an assault charge at Livingston Sheriff Court on Friday.

McGaughay, of Deeds Street, Airdrie, was charged with throwing a coin or similar object at assistant referee Calum Spence and "thereby striking him on the head with same to his injury".

Spence was filmed bleeding from a head wound after being hit by an object thrown from the away end during Livingston's 1-0 Premiership win over Rangers at the Tony Macaroni Arena on Sunday.

McGaughay pleaded not guilty to carrying out the attack and is now due to stand trial in December

Stewart Peebles, defending, asked for McGauchay, who he said had no previous convictions, to be freed on bail.

Kate Irwin, prosecuting, asked the court to impose two special bail conditions: that the accused did not attend at or attempt to attend at any regulated football match in Scotland and that he doesn't contact or approach, or try to contact or approach, the alleged victim Mr Spence.

Sheriff Douglas Kinloch asked McGauchay if he agreed to abide by the conditions until the case had been dealt with and the accused replied "yes" each time.

The sheriff warned him: "If you fail to comply with these conditions of bail it will be treated as a serious matter, so you could be remanded in custody.

"If you were found at any football match you would be brought back to court and you may be remanded in custody."