Due to the Angolan Civil War (1975–2002), which lasted more than 20 years after independence from Portugal, the important Benguela railway line closed, with only the short distance of 30 kilometers between Benguela and Lobito remaining operational.