Thomas Ferry, next-in-line for the presidency