But failure to make expenses, and the lack of success of wind-driven sailing cars and horse-powered treadmill cars, opened the way for Peter Cooper's plan for steam power. All horses on the B&O Railroad were replaced by steam locomotives on July 31, 1831.