4 years
President Gerald R. Ford lost to James Carter.
Jimmy Carter was elected President of the United States of America; that's where he was elected.
I may not understand your question, but when Carter was president he worked for the US government and received a salary for his work from the US treasury.