Contemporary Mangalorean Catholics descend mainly from the New Christians of Portuguese Goa and Damaon, who migrated to South Canara between 1560 and 1763 throughout the course of the Goa Inquisition, Portuguese–Adil Shahi wars, and the Portuguese–Maratha wars. They learned Tulu, and Kannada whilst in South Canara, but retained Konkani as their mother tongue and preserved much of their pre-Portuguese ways of living. Their 15-year captivity at Seringapatam imposed by Tipu Sultan, the "de facto" ruler of the Kingdom of Mysore, from 24 February 1784 to 4 May 1799 led to the near extinction of the community. After Tipu's defeat and subsequent death in battle against the British in 1799, the community resettled in South Canara, and later prospered under British rule.