Not until the Interstate Commerce Act in 1887 did it become an illegal, punishable offense for railroads to give rebates, and the practice didn’t cease entirely until the 1903 Elkins Act. Nevertheless, by the end of the Civil War, a widespread belief had begun to take hold that railroads were common carriers and should shun favoritism.