The name "La Pampanga" was given by the Spaniards, who encountered natives living along the banks ("pampáng") of the Pampanga River. Its creation in 1571 makes it the first Spanish province on Luzon Island (Cebu in Visayas is older as it was founded by the Spaniards in 1565). The town of Villa de Bacolor in the province briefly served as the Spanish colonial capital when Great Britain invaded Manila as part of the Seven Years' War. At the eve of the Philippine Revolution of 1896, Pampanga was one of eight provinces placed under martial law for rebellion against the Spanish Empire; it is thus represented on the Philippine national flag as one of the eight rays of the sun.