The Western Maryland Scenic Railroad is an excursion railroad based in Cumberland, Maryland. It operates over ex-Western Maryland Railway tracks and travels to Frostburg.
The Allegheny Highlands Trail of Maryland runs along the rail line. This trail is part of the very popular Great Allegheny Passage trail which connects Cumberland to Pittsburgh and attracts over 750,000 visitors per year.
The Western Maryland uses both steam and diesel locomotives.
Though some might argue that cycling next to a steam locomotive would be far more dangerous than riding next to a diesel or electric train, this fact seems lost on the cyclist in the video.
Note, too, there isn't a fence or barrier separating the train from the trail.
More scenes from the Great Alleheny Passage: