Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Name | Election Year | Party | Birth State | Resident State |
| --- | --- | --- | --- | --- |
| James K. Polk | 1844.0 | Democrat | Lost North Carolina | Lost Tennessee |
| Zachary Taylor | 1848.0 | Whig | Lost Virginia | Won Louisiana |
| Abraham Lincoln | 1860.0 | Republican | Lost Kentucky | Won Illinois |
| Abraham Lincoln | 1864.0 | Republican | Lost Kentucky | Won Illinois |
| Woodrow Wilson | 1916.0 | Democratic | Won Virginia | Lost New Jersey |
| Richard Nixon | 1968.0 | Republican | Won California | Lost New York |
| George H. W. Bush | 1988.0 | Republican | Lost Massachusetts | Won Texas |
| George W. Bush | 2000.0 | Republican | Lost Connecticut | Won Texas |
| George W. Bush | 2004.0 | Republican | Lost Connecticut | Won Texas |
Question:
What is the resident state for the president elected in 1864?
Answer:
Won Illinois