Who was the first President to resign from office?