The late 19th and early 20th centuries saw seven breweries being built in what was open country at Craigmillar/Duddingston, concentrated in a small area beside the railway line and taking advantage of the local aquifers providing excellent water for brewing. The first of these was the Craigmillar Brewery of William Murray & Co. Ltd built in 1886 and followed within a few years by Andrew Drybrough's brewery, also called the Craigmillar Brewery (1892), the Duddingston Brewery built by Pattisons Ltd (1896), bought by Robert Deuchar Ltd in 1899 following Pattisons' liquidation, the North British Brewery (1897) which was taken over by Murray's in 1927 becoming known as Murray's No. 2 Brewery, Maclauchlan's Castle Brewery, Raeburn's New Craigmillar Brewery and Paterson's Pentland Brewery, all opening in 1901. These breweries stopped brewing at various times, mainly in the 1960s, but Drybrough's survived for several years and ceased brewing in January 1987.