A train of locomotives slowly moved forward and whistled, with many onlookers and screaming cheers.