Large public expenditure for infrastructure was allocated by the colonial authorities to Dakar's development. The port facilities were improved with jetties, a telegraph line was established along the coast to Saint-Louis and the Dakar-Saint-Louis railway was completed in 1885, at which point the city became an important base for the conquest of the Western Sudan.