In the later medieval period the town prospered;[14] it became a thriving commercial and political centre for south Dorset, with a textile trading and manufacturing industry which continued until the 17th century.[15] In the time of Edward III (1312–1377), the town was governed by bailiffs and burgesses, with the number of burgesses increasing to fifteen by the reign of James I (1566–1625).[3]