the acquired territory, with extraordinary privileges for foreign trade. The castle was reinforced by bastions, and the area inside the moats extended to 400x400 meters. The castle was considered the strongest and most modern in Scandinavia, but was temporarily lost to the Danes after a comparably short siege lasting from July 8 to August 2, 1676. The commandant, Colonel Hieronymus Lindeberg, was consequently sentenced to death for high treason. During the Danish reconquest in 1676-1679, Landskrona Citadel constituted as mobilisation centre for formal enlistment of pro-Danish guerrilla fighters. In 1753 the Swedish military commander feared that the tower of Sancti Johannis Baptistae church could be a threat to the citadel and demanded the demolition of the church. Even though the cornerstone of the new Sofia Albertina Church was laid the following year, it was not inaugurated until 1788, and was finally completed in 1812. Unusually for a church that is not a diocesan seat, the new church was built with two towers, possibly in compensation for its much larger medieval predecessor. Landskrona's military importance declined after the 18th century. The continued Swedish–Danish wars led to Karlskrona replacing Landskrona as a naval base, as it is located at a safer distance from Denmark. Although the fortifications at Landskrona were expanded considerably between 1747 and 1788, they were condemned in 1822, whereafter the garrison was abolished in 1869. The last military regiment, Skånska Husarregimentet, K5 was renamed and moved from Landskrona to Uppsala in 1926. Today the walls and moats of the fortifications of Landskrona Citadel are a recreational area and the castle holds a museum. On the northern side, an allotment-garden area of cottages was founded in the final years of the 19th century, and is today the oldest of its kind in Sweden. The military's large exercise field became a public heath, today called "Exercisfältet" or "Exan". The town grew quickly after the industrial revolution and subsequent urbanization. During the first World War a large shipyard, Öresundsvarvet was constructed. In the mid-1970s the shipyard employed more than 3,500 people, in a town with only 30,000 inhabitants. The shipyard was closed down in stages from the late 1970s, finally closing in 1983. On 14 May 1919 the Swedish engineer and flight pioneer Enoch Thulin, who lived and worked in Landskrona, died when he crashed his own airplane at the Södra Fäladen fields. His funeral service was held in Sofia Albertina Church.