in a battle against the Kekayas and Pallavas. In a stone inscription near Gudnapur dated to c. 500 CE, the Alupas are mentioned as subordinates to the Kadambas. In 602, the Mahakuta Pillar inscription refers to the Aluvas as being conquered by Kirtivarman I of the Chalukyas. In the Aihole inscription, it appears the Chalukyas had crushed an Alupa rebellion in the early 7th century. During the reign of Vinayadtiya, it is mentioned how the Alupa chiefs helped the king restore peace after the disastrous war with the Pallavas. This Alupa ruler, Aluvarassa I, travelled from Mangalapura (modern Mangalore). After a civil war, and the overthrow of the Chalukyas by Dantidurga in 753, the Alupas entered into tributary relations with the Pallavas. Starting in the 9th century, the Alupas began to lose territory and Rashtrakuta king Krishna II sent a military expedition which placed the Alupas firmly under Rashtrakuta control. When the Cholas occupied Alupa territory during the reign of Rajaraja I, Bankideva Alupendra drove the Cholas out. In the late 11th and early 12th century, the Alupas had to acknowledge the suzreinty of the Chalukyas of Kalyani, before it was attacked by the Hoysalas and forced to acknowledge their suzerainty. An Old Malayalam inscription (Ramanthali inscriptions), dated to 1075 CE, mentioning king Kunda Alupa, the ruler of Alupa dynasty of Mangalore, can be found at Ezhimala (the former headquarters of Mushika dynasty) near Kannur, in the North Malabar region of Kerala. Vijayanagara Empire A 1204 inscription shows Mangalore had regained its position as capital from Barkur. Over the course of the 13th and 14th centuries, Alupa power declined steadily until Alupakheda was annexed by the Vijayangara Empire. The first Vijayanagara inscription in the district was from 1345 in Attavara. For the next three centuries, the empire administered Tulu Nadu with a firm hand especially as Tulu Nadu was the conduit through which much of their western trade, and how they secured horses from Arabia. Harihara Raya built a fort at Barkur, and instituted a revenue system where half of crops went to the cultivators while the rest were divided between landlords, Brahmins and the state. Ibn Batutta mentioned how the Muslim governor of 'Honore' paid tribute to a Vijayanagara revenue collector in Barkur with the title Wadiyar. While passing from Karwar to Kozhikode, he stayed in a port identified as 'Manjarur', identified as Mangalore, and noted the country to