 The title zamorin first appears in the writings of Ibn Battuta in 1342.In the Portuguese "Book of Duarte Barbosa" (c. 1516), the title of the ruler of Calicut is given as "çamidre" or "zomodri", derived from the local Malayalam "samoothiri" or "sāmūtiri".This was once thought to be derived from Sanskrit "samudra" ("sea") and have the meaning "lord of the sea".