A long time ago,people rode horses. The first trains used horses, too. Horses pulled the train cars.In1830, Peter Cooper built a steam locomotive. His locomotive and a horse had a race. His locomotive was faster and stronger than the horse. But the locomotive broke down, and the horse won the race. They had another race. This time the steam locomotive won.