1797-1820 domestic expansion and foreing entanglements.