Title: Buffalo, New York
Content:  Buffalo is the second-largest city in the U.S. state of New York and the seat of Erie County. It is at the eastern end of Lake Erie, at the head of the Niagara River, and is next to the Canadian border in southern Ontario. With a population of 278,349 according to the 2020 census, Buffalo is the 76th-largest city in the United States. The city and nearby Niagara Falls together make up the two-county Buffalo–Niagara Falls Metropolitan Statistical Area (MSA), which had an estimated population of 1.1 million in 2020, making it the 49th largest MSA in the United States. Buffalo is in Western New York, which is the largest population and economic center between Boston and Cleveland. Before the 17th century, the region was inhabited by nomadic Paleo-Indians who were 
Title: Buffalo, Minnesota
Content:  Buffalo is a city in the U.S. state of Minnesota and the county seat of Wright County. It is within the Minneapolis–Saint Paul metropolitan area, located 42 miles northwest of Minneapolis. The population of Buffalo was 15,453 at the 2010 census. As of 2019 estimates, Buffalo is the third largest city in Wright County, and the 65th largest city in Minnesota, with a population of 18,042. Minnesota State Highways 25 and 55 are two of the main routes in the city.
Title: Politics and government of Buffalo, New York
Content:  Buffalo is the largest of the three cities (Buffalo, Lackawanna, and Tonawanda) within, and is the seat of, Erie County. The municipal government of the City of Buffalo consists of:
Title: Buffalo, Iowa
Content:  Buffalo is a city in Scott County, Iowa, United States. The population was 1,176 at the 2020 census. Buffalo is located on the Mississippi River. The city is a part of the Quad Cities Metropolitan Area.
Title: Buffalo, Wyoming
Content:  Buffalo is a city in Johnson County, Wyoming, United States. The city is located almost equidistant between Yellowstone Park and Mount Rushmore. The population was 4,585 at the 2010 census. It is the county seat of Johnson County. The city has experienced an economic boom due to methane production from the coal bed methane extraction method used in the Powder River Basin and surrounding areas. However, with the decline of methane production, Buffalo's population has stabilized since the 2010 Census. Even though energy is a vital part of its economy, agriculture, tourism, and recreations are three other major components. Buffalo is at the foot of the Bighorn Mountains.
Title: Buffalo City Metropolitan Municipality
Content:  Buffalo City is a metropolitan municipality situated on the east coast of Eastern Cape Province, South Africa. It includes the towns of East London, Bhisho and King William's Town, as well as the large townships of Mdantsane and Zwelitsha.
Title: History of Buffalo, New York
Content:  Buffalo is the county seat of Erie County, and the second most populous city in the U.S. state of New York, after New York City. Originating around 1789 as a small trading community inhabited by the Neutral Nation near the mouth of Buffalo Creek, the city, then a town, grew quickly after the opening of the Erie Canal in 1825, with the city at its western terminus. Its position at the eastern end of Lake Erie strengthened the economy, based on grain milling and steel production along the southern shores and in nearby Lackawanna. In the dawn of the 20th century, Buffalo was one of the most populous cities in the United States. It had hosted the Pan-American Exposition in 1901 and later became a center for the automotive industry. Later, the opening of the Saint Lawrence Seaway combined with the effects of suburbanization, deindustrialization, and globalization led to the decline of the city's chief industries. The city lost over half of its population from 1950 to 2010. Buffalo retains many industries and has developed a diverse economy based upon advanced manufacturing, healthcare and education.
Title: Buffalo, North Dakota
Content:  Buffalo is located at 46.92034°N, -97.55079°W. According to the United States Census Bureau, the city has a total area of 0.23 sqmi, all land.
Title: Demographics of Buffalo, New York
Content:  Buffalo, New York is the second most populous city in the state of New York, after New York City.[3] The city has a population of 278,349 as of the 2020 Census and the Buffalo–Cheektowaga–Olean Combined Statistical Area is home to 1,215,826 residents.
Title: Buffalo, Oklahoma
Content:  Buffalo is a town and county seat of Harper County, Oklahoma, United States. The population was 1,299 at the 2010 census. It was named after the Buffalo Creek valley, in which it is located.

Question: What is Buffalo the capital of?
Answer: Harding County.
Harding County, South Dakota.