paragraph_text: The Republic of Užice ( / ) was a short-lived liberated Yugoslav territory and the first liberated territory in World War II Europe, organized as a military mini-state that existed in the autumn of 1941 in occupied Yugoslavia, more specifically the western part of the Territory of the Military Commander in Serbia. The Republic was established by the Partisan resistance movement and its administrative center was in the town of Užice.

paragraph_text: Wilde Lake High School is a secondary school located in Columbia, Maryland's Village of Wilde Lake, one of 12 public high schools in Howard County.

paragraph_text: Khabarovsky District () is an administrative and municipal district (raion), one of the seventeen in Khabarovsk Krai, Russia. It consists of two unconnected segments separated by the territory of Amursky District, which are located in the southwest of the krai. The area of the district is . Its administrative center is the city of Khabarovsk (which is not administratively a part of the district). Population:

paragraph_text: Bani Walid or Ben Walid, prior to 2007, was one of the districts of Libya, administrative town Bani Walid. In the 2007 administrative reorganization the territory formerly in Bani Walid District was transferred to Misrata District.

paragraph_text: In 1949, the Territory and the Territory of New Guinea were established in an administrative union by the name of the Territory of Papua and New Guinea. That administrative union was renamed as Papua New Guinea in 1971. Notwithstanding that it was part of an administrative union, the Territory of Papua at all times retained a distinct legal status and identity; it was a Possession of the Crown whereas the Territory of New Guinea was initially a League of Nations mandate territory and subsequently a United Nations trust territory. This important legal and political distinction remained until the advent of the Independent State of Papua New Guinea in 1975.

paragraph_text: Local associations of a special kind are an amalgamation of one or more Landkreise with one or more Kreisfreie Städte to form a replacement of the aforementioned administrative entities at the district level. They are intended to implement simplification of administration at that level. Typically, a district-free city or town and its urban hinterland are grouped into such an association, or Kommunalverband besonderer Art. Such an organization requires the issuing of special laws by the governing state, since they are not covered by the normal administrative structure of the respective states.

paragraph_text: Paea is a commune in the suburbs of Papeete in French Polynesia, an overseas territory of France in the southern Pacific Ocean. Paea is located on the island of Tahiti, in the administrative subdivision of the Windward Islands, themselves part of the Society Islands. At the 2017 census it had a population of 13,021.

paragraph_text: Territories of the United States are sub-national administrative divisions directly overseen by the United States Federal Government. Unlike U.S. states and Native American tribes which exercise limited sovereignty alongside the federal government, territories are without sovereignty. The territories are classified by whether they are incorporated and whether they have an ``organized ''government through an Organic Act passed by the U.S. Congress.

paragraph_text: The Arrondissement of Mechelen (; ) is one of the three administrative arrondissements in the Province of Antwerp, Belgium. It is both an administrative and a judicial arrondissement, as the territory for both coincides.

paragraph_text: Wardville is a small unincorporated community in northern Atoka County, Oklahoma, United States, along State Highway 131 14 miles northeast of Coalgate, Oklahoma. The post office was established February 6, 1902 under the name Herbert, Oklahoma. Herbert was located in Atoka County, Choctaw Nation, a territorial-era entity which included portions of today's Atoka, Coal, Hughes and Pittsburg counties. The town was named after Herbert Ward, who was the youngest son of the towns first postmaster, Henry Pleasant Ward. The name of the town was changed to Wardville on July 18, 1907. Wardville was named for the before mentioned Henry Pleasant Ward, who served in the territorial House of Representatives and Senate and was an Atoka County judge. The Wardville Post Office closed in 2007.

paragraph_text: The ZEC Bras-Coupé-Desert is a "zone d'exploitation contrôlée" (controlled harvesting zone) (ZEC), located in the unorganized territory of Lac-Pythonga in La Vallée-de-la-Gatineau Regional County Municipality, in the administrative region of Outaouais, in Quebec, in Canada.

paragraph_text: Deninu School is a K-12 public school located in Fort Resolution, Northwest Territories, Canada. The school currently represents the only public education option for youth in the hamlet and serves a student population of approximately 125 students. The administration of the school is the responsibility of the South Slave Divisional Education Council (SSDEC).

paragraph_text: Ap Lo Chun () is a small island in the New Territories of Hong Kong. It is located in Ap Chau Bay () between Ap Chau in the east and Sai Ap Chau in the west, with the islet of Ap Tan Pai nearby in the northeast. It is under the administration of North District.

paragraph_text: Biysky District () is an administrative and municipal district (raion), one of the fifty-nine in Altai Krai, Russia. It is located in the east of the krai and borders with Zonalny, Tselinny, Soltonsky, Krasnogorsky, Sovetsky, and Smolensky Districts, as well as with the territory of the City of Biysk. The area of the district is . Its administrative center is the city of Biysk (which is not administratively a part of the district). District's population:

paragraph_text: Sandy Lake is an unincorporated community Native American village located in Turner Township, Aitkin County, Minnesota, United States. Its name in the Ojibwe language is "Gaa-mitaawangaagamaag", meaning "Place of the Sandy-shored Lake". The village is administrative center for the Sandy Lake Band of Mississippi Chippewa, though the administration of the Mille Lacs Indian Reservation, District II, is located in the nearby East Lake.

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: Enterprise is a hamlet in the South Slave Region of the Northwest Territories, Canada, located between Great Slave Lake and the Alberta border on the Hay River.

paragraph_text: Howard County is a county located in the US state of Iowa. As of the 2010 census, the population was 9,566. The county seat is Cresco. The county was founded in 1851; it was named for General Tilghman Ashurst Howard, a Representative of Indiana.

paragraph_text: A union territory is a type of administrative division in the Republic of India. Unlike states, which have their own elected governments, union territories are ruled directly by the Union Government (central government), hence the name ``union territory ''. Union territories in India qualify as federal territories, by definition.

paragraph_text: Lutsel K'e Dene School is a K-12 public school located in Lutselk'e, Northwest Territories, Canada. The school currently represents the only public education option for youth in the settlement and serves a student population of approximately 73 students. The administration of the school is the responsibility of the South Slave Divisional Education Council (SSDEC).

Question: Who was president when the state where Wilde Lake is located became a state?
Answer: President James K. Polk