No U.S. president has ever been born in or resided in Minnesota upon taking office , although both Democratic nominees in the -968 and -980 elections , had represented Minnesota in the Senate before running for president .