John Mackay appeared from custody at Inverness Sheriff Court and was sentenced over a multitude of offences.