The Battle of Nalapani was the first battle of the Anglo-Nepalese War of 1814–1816. The forces of the British East India Company fought against Nepal, then ruled by the House of Gorkha. The battle took place around the Nalapani fort, near Dehradun. The British besieged the fort between 31 October and 30 November 1814. The fort's garrison was commanded by Captain Balbhadra Kunwar. Major-General Rollo Gillespie, who had previously fought in the Battle of Java, was in charge of the attacking British troops. Gillespie was killed on the first day of the siege while rallying his men and despite considerable odds, both in terms of numbers and firepower, Balbhadra and his 600-strong garrison successfully held out against more than 5,000 British troops for over a month.