Moray is also home to the University of the Highlands and Islands affiliated Moray College, and to Gordonstoun independent boarding school and its accompanying preparatory school, Aberlour House. Moray Council is also responsible for the maintenance of 1,000 miles of road, 450 miles of footpath, 468 bridges, 16,000 street lights and 10,500 road signs. As a housing authority, Moray Council manages just under 6,000 council properties and operates a council house waiting list. It also provides housing which has been specially designed, built or adapted to meet the requirements of certain groups such as the elderly and those with special needs.
Elgin, Moray killed Duncan I at Bothganowan (Pitgaveny), near Elgin. Elgin is first recorded in a charter of David I in 1151 in which he granted an annuity to the Priory of Urquhart. David had made Elgin a royal burgh around 1130, after his defeat of Óengus of Moray. During David's reign the castle was established at the top of what is now Lady Hill. The town received a royal charter from Alexander II in 1224 when he granted the land for a new cathedral to Andrew, Bishop of Moray. This finally settled the episcopal see which had been at various times