Boone served as a militia officer during the Revolutionary War (1775–1783), which, in Kentucky, was fought primarily between American settlers and British-allied American Indians. Boone was captured by Shawnees in 1778 and adopted into the tribe, but he escaped and continued to help defend the Kentucky settlements. He was elected to the first of his three terms in the Virginia General Assembly during the war, and fought in the Battle of Blue Licks in 1782, one of the last battles of the American Revolution. Boone worked as a surveyor and merchant after the war, but he went deep into debt as a Kentucky land speculator. Frustrated with legal problems resulting from his land claims, in 1799 Boone resettled in Missouri, where he spent most of the last two decades of his life.