The history of rail transport in Tanzania began in the late nineteenth century.