and two beach resorts, the first ones to be built in Viareggio. On October 5, 1847, Lucca was acquired by the Grand Duchy of Tuscany. Viareggio, in this new scenario, developed as a seaside resort for the whole of Tuscany. In 1848 the city adopted its current coat of arms. In these years Viareggio was the destination of many exiled intellectuals of the Italian Risorgimento who were tolerated by the local sovereigns. During these years Viareggio's economy saw a very rapid expansion through its already recognised beach tourism and the newly expanding sailboat industry. Its population increased from 300 in 1740 to 6,549 in 1841. 20th century The beginning of the 20th century saw again a marked development of the coast and tourism industry, which caused a drastic change to most of the beach. The Passeggiata or promenade was born, with its cafés and shops, contributing to turning the city into the "Pearl of the Tyrrhenian Sea." Wood was very widely used in most buildings, and in 1917, a large portion of the city was lost in fire in only one night. It was only during the fascist era that wood would finally be replaced by other materials. During World War II Viareggio was subject to heavy bombings and entire suburbs of the city were destroyed. After the war, the reconstruction finally began, but the city's appearance had changed dramatically. Today Viareggio is still a renowned seaside resort and is widely famous for its carnival and shipbuilding industry. 21st century Late in the evening of June 29, 2009, a train carrying liquified petroleum gas derailed while approaching Viareggio's railway station. The ensuing explosion killed 32 people, injured many others, and destroyed a large number of homes and families near the station. Geography The entire area of Viareggio extends over the coastal flooding plain of Versilia. Located on the Ligurian Sea (although traditionally considered to face the Tyrrhenian Sea), it has of sandy beaches, of which are managed by private beach resorts and the remaining are public (most of the public beach is part of the Parco Naturale Regionale Migliarino-San Rossore-Massaciuccoli. Viareggio borders the local municipalities of Camaiore, Massarosa and Vecchiano) (PI). The municipal area comprises the Lake of Massaciuccoli and several canals, the most important ones of which are known as Burlamacca, Farabola, Fossa dell'Abate (bordering the municipality of Camaiore), and Fosso Le Quindici. Subdivisions Viareggio has a single frazione,