By the early 18th century, the Qing dynasty had started to send resident commissioners ("Ambans") to Lhasa. Tibetan factions rebelled in 1750 and killed the resident commissioners after the central government decided to reduce the number of soldiers to about 100. The Qing army entered and defeated the rebels and reinstalled the resident commissioner. The number of soldiers in Tibet was kept at about 2,000. The defensive duties were assisted by a local force which was reorganized by the resident commissioner, and the Tibetan government continued to manage day-to-day affairs as before.