The locomotive was built in the 1800s and can still run.