What position did Thomas Jefferson hold during the revolution?

Thomas Jefferson wasn't exactly apart of the revolutionary war and therefore did not hold any position during the revolutionary war though he did write the bulk of the declaration of the independence, and later became the third president of the US