Musselburgh Racecourse is a horse racing venue located in the Millhill area of Musselburgh, East Lothian, Scotland, UK, close to the River Esk. It is the second biggest racecourse in Scotland (the first being Ayr) and is the fourteenth biggest in the UK. In 2016, Musselburgh staged 28 fixtures. It was officially known as "Edinburgh Racecourse", and referred to as such in the English press, until the beginning of 1996 but was widely referred to as "Musselburgh" in Scotland long before that and was widely referred to as Musselburgh in the racing pages of Scottish newspapers. The course offers both flat racing and National Hunt meetings (though it only introduced jumping in 1987) and is 2 km long. In the middle of the course is a nine-hole golf course, Musselburgh Links, dating from at least 1672. The Royal Musselburgh Golf Club was founded there in 1774. Location The racecourse itself sits on Musselburgh common good land. It is situated on the eastern side of the town, less than a mile from the A1 and two miles from the Edinburgh City Bypass. A road bridge over the Esk gives access to the course on race days only; the rest of the time, the gates are kept closed. History The first races in Musselburgh took place in 1777 under the auspices of the Royal Caledonian Hunt. Between 1789 and 1816, race meetings were held on the sands at Leith, although some races did still take place in the town. In 1816, they returned permanently to Musselburgh, to a course that had been laid out for them by the town council. The Hunt were so pleased with the new course that they distributed 50 guineas amongst the town’s poor. After the legalisation of off course betting shops in 1961, racecourse attendances went into decline. This hit Scotland particularly hard, with Lanark and Bogside racecourses both going bankrupt. By the 1980s Musselburgh looked to be heading the same way, and, despite a temporary financial reprieve in 1987 when racecourses began to sell pictures of races to the betting shops, it was still losing money at the start of the 1990s. As a result, in 1991, East Lothian Council took over the running of the racecourse from the Lothians Racing Syndicate Limited (LRS). The Council brought the racecourse to a breakeven position in one year. In 1994, the Council and the Lothians Racing Syndicate created