In December 1764 Hyder Ali, the king of Mysore, sent his general Fazalullah Khan northward into Soonda via Bednur, where landowners who resisted his administration met severe retribution. Fearing capture, the Raja of Soonda fled to Goa, surrendering his territories below the Western Ghats to the Portuguese in exchange for sanctuary and a fixed annual stipend. The lower territories including the port of Sadashivgad near Karwar were absorbed into the Kingdom of Mysore.