Jay served in the Continental Congress and was elected President of that body .
Jay served as the President of the Continental Congress from 1778 to 1779 .