who granted royal burgh status to the city that housed the prison that closed one year before the closure of the prison in the town that was once given to robert the bruce ?
king william the lion