market town history