Military of New Spain
The military of New Spain played an insignificant role during the 17th century. The new Mexican society growing on the ruins left by the conquest was peaceful. A very limited number of regular troops, a couple of companies, were enough to keep the peace. The defense against external enemies was based on a limited number of fortified port cities. Spanish conflicts with the British Empire during the 18th century changed this. The Bourbon Reforms resulted in the transfer of regular Spanish Army troops from Spain to New Spain, the raising several colonial line infantry regiments, and the creation of a colonial militia which also included former slaves. The northern frontier was the exception to the peacefulness of Mexico, with constant warfare with the nomadic Native Americans.