4th US President, 1809-17 Military service: Continental Army