What positions did Franklin hold before becoming president of the US?

there is only one answer and it is governor of new york