sentences:  The two lines were connected in Rochester in 1844.The Buffalo and Rochester Railroad built from Depew east to Batavia in 1852, replacing the old longer route via Attica.In 1853, the New York Central Railroad built a more direct route from Syracuse to Rochester, meeting the old route east of Rochester at Brighton.