He was tasked with detaining Thomas Jefferson's explorers of the region, Lewis and Clark (which Pedro Vial before him had twice failed to do); resisting American settlement at the Red river; exploring New Mexico to the Missouri River; and negotiating a treaty with the Pawnee Indians in which they would prevent the Anglo-American egress.