The railway allowed better communication and exchange between San Marino and Italy, but on 26 June 1944, American bombers struck the line between Domagnano and Valdragone, ending the history of the White-Blue train. Actually, despite the bombing, it was possible to keep a minimum service between Rimini and Domagnano until 11 July 1944, when it was decided to put a permanent end to the history of the San Marino railway. In the last period of service, it was mainly used to carry the people coming to San Marino from the surroundings. More than 100,000 refugees were hosted in the homes of San Marino and many found shelter in the train tunnels, which became a real home during the war. There are a number of photos bearing testimony to the improvised dwellings obtained by marking with red paint different portions of the tunnels to be destined to the families.