were still important. Competition from Leeds and Hull, together with silting of the River Ouse, resulted in York losing its pre-eminent position as a trading centre, but its role as the social and cultural centre for wealthy northerners was rising. York's many elegant townhouses, such as the Lord Mayor's Mansion House and Fairfax House date from this period, as do the Assembly Rooms, the Theatre Royal, and the racecourse. Modern history The railway promoter George Hudson was responsible for bringing the railway to York in 1839. Although Hudson's career as a railway entrepreneur ended in disgrace and bankruptcy, his promotion of York over Leeds, and of his own railway company (the York and North Midland Railway), helped establish York as a major railway centre by the late 19th century. The introduction of the railways established engineering in the city. At the turn of the 20th century, the railway accommodated the headquarters and works of the North Eastern Railway, which employed more than 5,500 people. The railway was instrumental in the expansion of Rowntree's Cocoa Works. It was founded in 1862 by Henry Isaac Rowntree, who was joined in 1869 by his brother the philanthropist Joseph. Another chocolate manufacturer, Terry's of York, was a major employer. By 1900, the railways and confectionery had become the city's two major industries. York was a centre of early photography, as described by Hugh Murray in his 1986 book Photographs and Photographers of York: The Early Years, 1844–79. Photographers who had studios in York included William Hayes, William Pumphrey, and Augustus Mahalski who operated on Davygate and Low Petergate in the 19th century, having come to England as a refugee after serving as a Polish lancer in the Austro-Hungarian war. In 1942, the city was bombed during the Second World War (part of the Baedeker Blitz) by the German Luftwaffe and 92 people were killed and hundreds injured. Buildings damaged in the raid included the Railway Station, Rowntree's Factory, Poppleton Road Primary School, St Martin-le-Grand Church, the Bar Convent and the Guildhall which was left in total disrepair until 1960. With the emergence of tourism, the historic core of York became one of the city's major assets, and in 1968 it was designated a conservation area. The existing tourist attractions were supplemented by the establishment of the National Railway Museum in York in 1975, the Jorvik Viking Centre in 1984 and the York Dungeon in