Question: who was president of the united states for one day?
Answer: The President of the Senate Pro Tempore at the time that Polk's term of office came to an end was David Rice Atchison. He served from noon on March 4, 1849, until Zachary Taylor took the oath of office at noon on March 5. David Rice Atchison was President for a day.