First president to be elected by secession?

No President of the US can be said to have been "elected by secession", unless possibly Washington himself, if the states ratifying the 1787 Constitution are considered thereby to have "seceded" form the old Confederation, but this is a very questionable notion. Jefferson Davis was elected President of the Confederate States after their secession in 1861, but was of course never President of the US.