Finally at year end, Samuel M. Felton, the PW&B President, wrote newspapers about the War Department's discrimination against his cooperating railroad line, which competed with Cameron's favored North Central and Pennsylvania Railroads. President Lincoln (familiar with railroad law since his days as an Illinois lawyer) in January 1862 replaced Cameron with Pennsylvania lawyer Edwin M. Stanton, who had been serving as Cameron's legal advisor. Furthermore, on January 31, 1862 Congress passed the Railways and Telegraph Act of January 31, 1862, creating the United States Military Railroad and allowing it to seize and operate any railroad or telegraph company's equipment, although Stanton and USMRR Superintendent Daniel McCallum would take a "team of rivals" approach to railroad management and allow civilian operations to continue. In February 1862, Union forces recaptured Martinsburg and Harpers Ferry, and work crews continued replacing wrecked bridges and equipment, although bushwhacker raids continued.