Advocate depute Alison Di Rollo said Rooney's extensive list of previous convictions included wilful fireraising, theft and housebreaking, but he was also convicted of a sexual offence at the High Court in 2004.
The court later heard from witness Francis Fagan, 39, of Glasgow, who was charged in March 2009 with wilful fire-raising in connection with the fire at Kingspoint.