The Albany and Eastern Railroad (reporting mark AERC) is a short line railroad in the Willamette Valley of Oregon that was created when the BNSF Railway spun off its Sweet Home Branch Line in May 1998. It operates about 64 miles (103 km) of track and is based in Lebanon, Oregon. The main line runs from Albany to Lebanon, with two branch lines at Lebanon going to Sweet Home and Mill City. At the Albany end of the main line it connects to Union Pacific and BNSF lines.