The Cape Eastern Line was built partially to serve the frontier, and its network of military forts. The port of East London was likewise chosen partly for strategic reasons, being the closest port to the frontier for landing and transporting troops. The line was begun in 1873, when the Prime Minister turning the first spades for both the East London harbour and the Eastern Railway Line on 20 August 1873. Though frontier wars disrupted construction from time to time, the line reached Queenstown in 1880.