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