They were generally at the same time erected into a commonalty or corporation, with the privilege of having magistrates and a town council of their own, of making bye laws for their own government, of building walls for their own defence, and of reducing all their inhabitants under a sort of military discipline, by obliging them to watch and ward; that is, as anciently understood, to guard and defend those walls against all attacks and surprises, by night as well as by day.