Why it's the capital
Niamey replaced Zinder as the capital of the French territory in 1903, but the capital went back to Zinder in 1911. In 1926 the French moved it to Niamey again, partly because Zinder was short of drinking water and close to the border with Nigeria, and it has stayed there since.