Heriot-Watt University (Scottish Gaelic: Oilthigh Heriot-Watt) is a public research university based in Edinburgh, Scotland. It was established in 1821 as the School of Arts of Edinburgh, the world's first mechanics' institute, and subsequently granted university status by royal charter in 1966. It is the eighth oldest higher education institute in the UK.