Complex sentence: Rivalry between Nepal and the British East India Company over the annexation of minor states bordering Nepal eventually led to the Anglo-Nepalese War (1815--16) or the Gurkha War and signed the Treaty of Sugauli, following which the Gurkhas were expelled from Kamru.
Split into simpler sentences: Rivalry between Nepal and the British East India Company over the annexation of minor states bordering Nepal eventually led to the Anglo-Nepalese War (1815--16) or the Gurkha War. Both parties eventually signed the Treaty of Sugauli, following which the Gurkhas were expelled from Kamru.