who was the us president during the revolutionary war?