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