After the Japanese invasion of French Indochina during World War II, Japanese forces used the Vietnamese railway system extensively, inviting sabotage by the Viet Minh as well as American bombing from the air. Following the exit of the Japanese at the end of the war, efforts were made to repair the seriously damaged North–South line.