The town quickly grew to replace Machakos as the capital of Kenya in 1907 .
Nairobi was founded in 1899 as a rail depot on the Uganda Railway .
The town quickly grew to replace Machakos as the Nairobi of Kenya in 1907 .
Nairobi was founded in 1899 as a rail depot on the Uganda Railway .