The Spanish arrived in the 16th century and established Christian missions and governmental institutions to control the native population and convert them to Catholicism. Present-day Vigan in Ilocos Sur province became the diocesan seat of Nueva Segovia. Ilocanos in the northern parts were less easily swayed, however, and remained an area filled with deep resentments against Spain. These resentments surfaced at various points in the Ilocos provinces' history as insurrections, most notably that of Andres Malong and Palaris of Pangasinan, Diego Silang and his wife Gabriela Silang in 1764, and the Basi Revolt in the 19th century. However, it was the Pangasinans in the south who were the last to stand against the Spaniards.