Stoughton was settled in 1713 and officially incorporated in 1726, from the southwestern portion of the large town of Dorchester. At its founding, it included the current towns of Sharon (which separated in 1765), Canton (which separated in 1797) and Avon (which separated in 1888).