Baltimore and Ohio Railroad (B&O), first steam-operated railway in the United States to be chartered as a common carrier of freight and passengers (1827). The B&O was established by Baltimore, Maryland, merchants to compete with New York merchants and their newly opened Erie Canal for trade to the west.