The first, and most severe, damage happened during World War II. On June 5, 1941, ammunition stored in the fortress exploded, destroying not only a large part of the southern wall, but also decimating most of Smederevo. Further damage was caused by the Allies' bombing in 1944. A dam in the Iron Gate, completed in 1972, raised the water level of the lower Danube basin and caused significant flooding. Between 1970 and 1980, a system was built to protect the fortress and surrounding city from future high water, however there was once again major flooding in 2006, a result of heavy rainfall and melting snow. The fortress has been the focus of restoration and conservation efforts, followed by archaeological and architectural research, since at least 1970. The majority of work so far was done between 1970 and 1995. While some parts were at least partially repaired, others only received conservation work and are still in bad condition. In the inner city, the foundation is the only part of the palace which remains standing, and the audience hall has only an outline where the base was. What remains has been partially restored and is now stable, though issues of vegetation growth and permanent maintenance remain. The surrounding towers also still need work, as many have collapsed. The town's restoration was followed in 1994–1995 with an archaeological investigation. The fortified suburb is still in very bad condition. Parts of the wall are missing and several towers are leaning or partially collapsed. The corner tower behind the Turkish inscription tower, and the stretch of wall along the Danube have seen conservation efforts, and the southern wall, which has been restored several times as part of a levee, is stable, but the conservation work is of poor quality. Much of the time has instead been spent on archaeological excavations and research, especially of the remains of the sacral complex and Turkish bath. The escarpment along the Danube, which had partially collapsed several times, has seen restoration work, and is now in good condition. On the other sides, much of the escarpment is gone or underground, and the overall condition is unknown. The ambiance and setting are also threatened, though they remain the best along the Danube. The other two sides are surrounded by modern development, such as a marina on the eastern side, a railway to the south, and a variety of other urban structures. The planned final result of the work is for full rehabilitation of both Smederevo Fortress and its immediate surroundings, including relocating the railroad, though estimations of cost vary widely.