Hakodate was awarded city status on August 1, 1922. In 1934, a serious fire destroyed around two-thirds of all buildings in Hakodate. This event also led to many residents leaving and subsequently depopulating the city. The city escaped most of the ravages of World War II. Areas around Hakodate-yama were fortified and access restricted to the public. Many prisoners of war were interned in Hakodate and historians record a total of 10 camps. The city was subjected to two Allied bombing raids on 14 and 15 July 1945. Around 400 homes were destroyed on the western side of Hakodate-yama and an Aomori-Hakodate ferry was attacked with 400 passengers killed.