paragraph_text: President Mir Qanbar is a 2005 Iranian documentary film directed by Mohammad Shirvani. The film follows Mir Qanbar, an elderly Iranian man, as he campaigns in the country's presidential election.

paragraph_text: Benjamin "Ben" Fernandez (February 24, 1925 – April 25, 2000) was an American politician, financial consultant and special ambassador. He was a member of the Republican Party. He ran for President of the United States three times, seriously in 1980 and with more perfunctory campaigns in 1984 and 1988, making him America's first major-party presidential contender of Hispanic origin.

paragraph_text: Almost immediately after achieving territorial status, a clamor arose for statehood. On December 28, 1846, Iowa became the 29th state in the Union when President James K. Polk signed Iowa's admission bill into law. Once admitted to the Union, the state's boundary issues resolved, and most of its land purchased from the Indians, Iowa set its direction to development and organized campaigns for settlers and investors, boasting the young frontier state's rich farmlands, fine citizens, free and open society, and good government.

paragraph_text: The United States presidential election of 1824 was the tenth quadrennial presidential election, held from Tuesday, October 26, to Thursday, December 2, 1824. John Quincy Adams was elected President on February 9, 1825. The election was the only one in history to be decided by the House of Representatives under the provisions of the Twelfth Amendment to the United States Constitution after no candidate secured a majority of the electoral vote. It was also the first U.S. presidential election where the elected president lost the popular vote, and the only presidential election in which the candidate who received the most electoral votes (Andrew Jackson) did not become President, a source of great bitterness for Jackson and his supporters, who proclaimed the election of Adams a corrupt bargain.

paragraph_text: Shirley Anita Chisholm (née St. Hill; November 30, 1924 -- January 1, 2005) was an American politician, educator, and author. In 1968, she became the first black woman elected to the United States Congress, and she represented New York's 12th Congressional District for seven terms from 1969 to 1983. In 1972, she became the first black candidate for a major party's nomination for President of the United States, and the first woman to run for the Democratic Party's presidential nomination.

paragraph_text: The United States presidential election of 2000 was the 54th quadrennial presidential election. It was held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the Governor of Texas and the eldest son of the 41st President George H.W. Bush, won the election by defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote.

paragraph_text: The United States presidential election of 2016 was the 58th quadrennial American presidential election, held on Tuesday, November 8, 2016. In a surprise victory, the Republican ticket of businessman Donald Trump and Indiana Governor Mike Pence defeated the Democratic ticket of former Secretary of State Hillary Clinton and U.S. Senator from Virginia Tim Kaine despite losing the popular vote. Trump took office as the 45th President, and Pence as the 48th Vice President, on January 20, 2017. Incumbent Democratic President Barack Obama was ineligible to run for a third term due to the term limits established by the 22nd Amendment. Concurrent with the presidential election, Senate, House, and many gubernatorial and state and local elections were also held on November 8.

paragraph_text: Seven Presidents have been members of a political party before being elected. Six of these were active party members of the Indian National Congress. The Janata Party has had one member, Neelam Sanjiva Reddy, who later became President. Two Presidents, Zakir Husain and Fakhruddin Ali Ahmed, have died in office. Their Vice-Presidents served as Acting Presidents until a new President was elected. Following Zakir Husain's death, two acting Presidents held office until the new President, V.V. Giri, was elected. When Giri resigned to take part in the presidential elections, he was succeeded by Mohammad Hidayatullah as acting President. The 12th President, Pratibha Patil, is the first woman to serve as President of India, elected in 2007. As of November 2017, Ram Nath Kovind is the President of India who was elected on 25 July 2017.

paragraph_text: Tanner '88 is a political mockumentary miniseries written by Garry Trudeau and directed by Robert Altman. First broadcast by HBO during the months leading up to the 1988 U.S. presidential election, it purports to tell the behind-the-scenes story of the campaign of former Michigan U.S. representative Jack Tanner during his bid to secure the Democratic Party's nomination for President of the United States.

paragraph_text: The United States presidential election of 1992 was the 52nd quadrennial presidential election. It was held on Tuesday, November 3, 1992. Democratic Governor Bill Clinton of Arkansas defeated incumbent Republican President George H.W. Bush, independent businessman Ross Perot of Texas, and a number of minor candidates.

paragraph_text: The 1980 Democratic presidential primaries were the selection process by which voters of the Democratic Party chose its nominee for President of the United States in the 1980 U.S. presidential election. Incumbent President Jimmy Carter was again selected as the nominee through a series of primary elections and caucuses culminating in the 1980 Democratic National Convention held from August 11 to August 14, 1980, in New York City. It is notable for being the last time that an incumbent president lost a state's presidential primary.

paragraph_text: The United States presidential election of 1948 was the 41st quadrennial presidential election, held on Tuesday, November 2, 1948. Incumbent President Harry S. Truman, the Democratic nominee, defeated Republican Governor Thomas E. Dewey. Truman's victory is considered to be one of the greatest election upsets in American history.

paragraph_text: The United States presidential election of 1824 was the tenth quadrennial presidential election, held from Tuesday, October 26, to Thursday, December 2, 1824. In an election contested by four members of the Democratic - Republican Party, no candidate won a majority of the electoral vote, necessitating a contingent election in the House of Representatives under the provisions of the Twelfth Amendment to the United States Constitution. On February 9, 1825, the House of Representatives elected John Quincy Adams as president. The 1824 presidential election was the first election in which the winner of the election lost the popular vote.

paragraph_text: February 1: Iowa caucus (both parties) February 9: New Hampshire primary (both parties) February 20: Nevada Democratic caucuses and South Carolina Republican primary February 23: Nevada Republican caucuses February 27: South Carolina Democratic primary March 1: Super Tuesday: Primaries / caucuses for both parties in several states

paragraph_text: The run-off took place on 11 January 2015, with Grabar-Kitarović winning 50.7% of the vote. She thereby became Croatia's first female post-independence head of state and the country's first conservative president in 15 years. She was ceremonially sworn into office on 15 February, and assumed office officially at midnight on 19 February 2015.Upon election, Grabar-Kitarović became the first woman in Europe to defeat an incumbent president running for reelection, as well as the second woman in the world to do so, after Violetta Chamorro of Nicaragua in 1990. She is also the first candidate of any gender to defeat an incumbent Croatian president. In addition, Grabar-Kitarović is the only presidential candidate to date to have won a Croatian presidential election without having won the most votes in the first round of elections, as she lost it by 1.24% or 21,000 votes. Furthermore, the 1.114 million votes she received in the second round is the lowest number of votes for any winning candidate in a presidential election in Croatia and the 1.48% victory margin against Josipović is the smallest in any such election to date.

paragraph_text: Henry Ross Perot (/ pəˈroʊ /; born June 27, 1930) is an American business magnate and former politician. As the founder of Electronic Data Systems, he became a billionaire. He ran an independent presidential campaign in 1992 and a third party campaign in 1996, establishing the Reform Party in the latter election. Both campaigns were among the strongest presidential showings by a third party or independent candidate in U.S. history.

paragraph_text: The United States presidential election of 2020, scheduled for Tuesday, November 3, 2020, will be the 59th quadrennial U.S. presidential election. Voters will select presidential electors who in turn will either elect a new president and vice president through the electoral college or reelect the incumbents. The series of presidential primary elections and caucuses are likely to be held during the first six months of 2020. This nominating process is also an indirect election, where voters cast ballots selecting a slate of delegates to a political party's nominating convention, who then in turn elect their party's presidential nominee.

paragraph_text: Seven presidents have been members of a political party before being elected. Six of these were active party members of the Indian National Congress. The Janata Party has had one member, Neelam Sanjiva Reddy, who later became president, he was born in Anantapur District (now Andhra Pradesh). Two presidents, Zakir Husain and Fakhruddin Ali Ahmed, have died in office. Their vice-presidents functioned as acting president until a new president was elected. Following Zakir Husain's death, two acting presidents held office until the new president, V.V. Giri, was elected. Varahagiri Venkata Giri himself, Zakir Husain's vice president, was the first acting president. When Giri resigned to take part in the presidential elections, he was succeeded by Mohammad Hidayatullah as acting president. The 12th president, Pratibha Patil, is the first woman to serve as President of India, elected in 2007.

paragraph_text: President John Adams also occupied the Market Street mansion from March 1797 to May 1800. On Saturday, November 1, 1800, he became the first president to occupy the White House. The President's House in Philadelphia became a hotel and was demolished in 1832, while the unused presidential mansion became home to the University of Pennsylvania.

paragraph_text: Delegates to the national convention were usually selected at state conventions whose own delegates were chosen by district conventions. Sometimes they were dominated by intrigue between political bosses who controlled delegates; the national convention was far from democratic or transparent. Progressive Era reformers looked to the primary election as a way to measure popular opinion of candidates, as opposed to the opinion of the bosses. Florida enacted the first presidential primary in 1901. The Wisconsin direct open primary of 1905 was the first to eliminate the caucus and mandate direct selection of national convention delegates. In 1910, Oregon became the first state to establish a presidential preference primary, which requires delegates to the National Convention to support the winner of the primary at the convention. By 1912, twelve states either selected delegates in primaries, used a preferential primary, or both. By 1920 there were 20 states with primaries, but some went back, and from 1936 to 1968, 12 states used them.

Question: Who was president when the state where the first caucus is held for each presidential campaign became a state?
Answer: President James K. Polk