King Afonso I worked to create a viable version of the Roman Catholic Church in Kongo, providing for its income from royal assets and taxation that provided salaries for its workers. With advisers from Portugal such as Rui d'Aguiar, the Portuguese royal chaplain sent to assist Kongo's religious development, Afonso created a syncretic version of Christianity that would remain a part of its culture for the rest of the kingdom's independent existence. King Afonso himself studied hard at this task. Rui d'Aguiar once said Afonso I knew more of the church's tenets than he did.