railway (n.) Look up railway at Dictionary.com
1812 in modern sense, from rail (n.1) + way (n.). Earlier used of any sort of road on which rails (originally wooden) were laid for easier transport (1776).