The principal magistrate of a royal burgh in Scotland; also a governing oflicer of a university or college