King Afonso was the ruler of Kongo & the 1st of a line of Portuguese casual kings .