Афонсу III
The settlement of "Viana da Foz do Lima", which it was called when King Afonso III of Portugal issued a foral ("charter") on 18 July 1258, was a formalization of the 1253 "Viana" that the area was named.