In 1939, Valletta was abandoned as the headquarters of the Royal Navy Mediterranean Fleet due to its proximity to Italy and the city became a flash point during the subsequent two-year long Siege of Malta. German and Italian air raids throughout the Second World War caused much destruction in Valletta and the rest of the harbor area. The Royal Opera House, constructed at the city entrance in the 19th century, was one of the buildings lost to the raids.