hence the Turkish name for Győr, Yanık kale ("burnt castle"). During rebuilding, the town was surrounded with a castle and a city wall designed by the leading Italian builders of the era. The town changed in character during these years, with many new buildings built in Renaissance style, but the main square and the grid of streets remained. In 1594, after the death of Count János Cseszneky, captain of Hungarian footsoldiers, the Ottoman army occupied the castle and the town. In 1598 the Hungarian and Austrian army took control of it again and occupied it. During the Turkish occupation the city was called Yanık Kala (burned place, as a reference to the enormous damages caused by the siege). In 1683, the Turks returned briefly, only to leave after being defeated in the Battle of Vienna. During the following centuries, the town became prosperous. In 1743 Győr was elevated to free royal town status by Maria Theresa. The religious orders of Jesuits and Carmelites settled there, building schools, churches, a hospital, and a monastery. On 14 June 1809, during the War of the Fifth Coalition, this was the site of the Battle of Győr (Battle of Raab), where the army of Eugène de Beauharnais defeated the Hungarian "noble insurrection" (militia) and an Austrian corps under the Archdukes Joseph and Johann. Napoleon's forces occupied the castle and had some of its walls blown up. The leaders of the town soon realized that the old ramparts were not useful any more. Most of the ramparts were destroyed, allowing the town to expand. In the mid-19th century, Győr's role in trade grew as steamship traffic on the River Danube began. The town lost its importance in trade when the railway line between Budapest and Kanizsa superseded river traffic after 1861. The town leaders compensated for this loss with industrialisation. The town prospered until World War II when several buildings were destroyed. Some large-scale strategic bombing devastated industrial and residential areas as well as the airport. It was targeted because the Rába factory was a main tank (Turán) and aeroplane (Bf 109) producer. One of these raids destroyed some parts of the maternity hospital. The 1950s and '60s brought more change: only big blocks of flats were built, and the old historical buildings were not given care or attention. In the 1970s the reconstruction of the city centre began; old buildings were restored and reconstructed.