Complex sentence: It runs in a roughly north--south direction for through the southwestern and central parts of Amherst from Interstate 290 north of Buffalo to NY 263 (Millersport Highway) south of Lockport.
Split into simpler sentences: It runs in a roughly north--south direction for through the southwestern and central parts of Amherst. Its northern terminus is at NY 263 (Millersport Highway) south of Lockport.