During his reign, the Portuguese managed to dominate relations with Kochi and established a few fortresses on the Malabar Coast.[113] Fort St Angelo or St. Angelo Fort was built at Kannur in 1505 and Fort St Thomas was built at Kollam(Quilon) in 1518 by the Portuguese.[114] However, the Portuguese suffered setbacks from attacks by Zamorin forces in South Malabar; especially from naval attacks under the leadership of Kozhikode admirals known as Kunjali Marakkars, which compelled them to seek a treaty.