Four.
http://wiki.answers.com/Q/How_many_states_were_there_when_james_polk_was_elected_president"
James K. Polk, initially the underdog for the 1844 United States Presidential Election, served a single term as US President, a move he envisaged the splintering Democratic Party as uniting behind him in the knowledge that another candidate would be picked within four years.
he was a dip but served at least two terms.
There were 27 states when Polk took office as president. (Florida became a state the day before Polk took office but after he was elected.) Texas, Iowa and Wisconsin joined the union while Polk was President, so there were 30 states when he left office,
Polk lived in Tennessee from age 10 on. He spent time around Columbia, and later moved on to Nashville. He had a house built in Nashville called Polk Place which he intended to retire . Unfortunately, he died a few weeks after he left office, but his wife lived at Polk Place for many years.
President James K. Polk and his wife, Sarah Childress Polk, did not have any children. They married in 1824, but due to various health issues, they remained childless throughout their marriage. Polk's focus on his political career and public service may have also contributed to their decision not to have children.
James Madison, Andrew Jackson, William Henry Harrison, John Tyler, James Knox Polk, Millard Fillmore, Franklin Pierce, James Buchanan, Abraham Lincoln, Andrew Johnson, Rutherford Hayes, James Garfield, William McKinley, John Kennedy, Lyndon Johnson, Gerald Ford, and George H. W. Bush all served as Representatives to the US Congress before they were President. James Polk served 4 years as Speaker of the House. John Quincy Adams served for many years in the House after he was President.
Polk Place was the house that Polk had built for himself and his wife in Nashville. He died soon after he left office, so he did not enjoy his new house for long, but his wife lived in it for many years.
He was president from 1809-1817
None of James Polk's siblings were older than him. He was the first of ten children born to Samuel Polk and Jane Polk (née Knox).
1
During Andrew Johnson's Presidency, the 37th state, Nebraska, was admitted to the union, on March 1, 1867.