The largest and most populous suburb of Buffalo, New York, the town of Amherst encompasses most of the village of Williamsville and the hamlets of Eggertsville, Getzville, Snyder, Swormville, and East Amherst.