Caboloan

Caboloan (also spelled Kaboloan; Luyag na Caboloan), referred to in Chinese records as Feng-chia-hsi-lan ("Pangasinan"), was a sovereign pre-colonial Philippine polity (panarian) located in the Agno River basin and delta, with Binalatongan as the capital.

Chinese records
Places in the present-day province of Pangasinan like Lingayen Gulf were mentioned as early as 1225, when Lingayen, then known as Li-ying-tung, was listed in Chao Ju-kua's Chu Fan Chih (an account of the various barbarians) as one of the trading places along with Ma-i. Caboloan sent emissaries to China in 1406–1411. The emissaries reported three successive paramount leaders of Caboloan to the Chinese: Kamayin on September 23, 1406, Taymey ("Tortoise Shell"), and Liyli in 1408 and 1409, and on December 11, 1411, the emperor tendered the Pangasinan party a state banquet.

In the 16th century, the Spanish referred to the port settlement of Agoo as the "Port of Japan". The locals wore apparel typical of other maritime Southeast Asian ethnic groups in addition to Japanese and Chinese silks. Even common people were clad in Chinese and Japanese cotton garments. They also blackened their teeth and were disgusted by the white teeth of foreigners, which were likened to that of animals. They used porcelain jars typical of Japanese and Chinese households. Japanese-style gunpowder weapons were also encountered in naval battles in the area. In exchange for these goods, traders from all over Asia would come to trade primarily for gold and slaves but also for deerskins, civets and other local products. Other than a notably more extensive trade network with Japan and China, they were culturally similar to other Luzon groups to the south, especially the Kapampangans and they are neighbors to the Ilocanos too.

Spanish Colonial Era and Limahong's Conquests
Limahong, a Chinese corsair and warlord, briefly invaded the polity after his failure in the Battle of Manila (1574). He then set up an enclave of wokou (Japanese and Chinese pirates) in Pangasinan. Nevertheless, the Mexico-born Juan de Salcedo and his force of Tagalog, Visayan, and Latino soldiers assaulted and destroyed the pirate kingdom and then incorporated the Pangasinan people and their polity into the Spanish East Indies of the Spanish Empire.