The Town of Shelby (pop. 5420 in 2000) occupies the south-western corner of Orleans County. The Village of Medina lies partly along the northern edge of Shelby and partly in the Town of Ridgeway.