the wilderness of the terai and its indigenous inhabitants stopped them, and this was not lost on the Shah dynasty. From that day forward, an informal alliance was formed—one that would only be reinforced during Nepal’s second altercation with the British in 1814, when the Tharu and the terai once again helped protect Kathmandu from outside invasion.