Nyíregyháza (ˈɲiːrɛɟhaːzɒ, Níreďháza) is a city with county rights in northeastern Hungary and the county capital of Szabolcs-Szatmár-Bereg. With a population of 118,001, it is the seventh-largest city in Hungary and the second largest in the Northern Great Plain region. Its development has been ongoing since the 18th century, making it the economic and cultural center of the region. Nyíregyháza Zoo, with over 500 species, is recognized throughout Europe. Nyíregyháza is located in Szabolcs-Szatmár-Bereg County in the northern Plain region, which also comprises Hajdú-Bihar County and Jász-Nagykun-Szolnok County. It is located in the center of Nyírség as an agricultural town. The boundaries of the city are often understood as a very broad frame, because generally the near suburbs are included in them. It is located at the intersections of routes 4, 41, 36, and 38, making the city easy to reach, lying at the crossroads to Sub-Carpathia and Transylvania. The first written mentions of Nyíregyháza date back to 1209, although it was then called simply Nyír ('birch'), after the Nyírség, the greater region in which the city lies. A source from 1326 mentions that by then the city already had a church, hence the second part of the name, egyház (meaning 'church'). By the middle of the 15th century, the town had about 400 inhabitants. In the 16th century, during the Turkish occupation of Hungary, Nyíregyháza became deserted; it was resettled only in the 1630s–1640s. After the War for Independence led by Prince Francis II Rákóczi, the town's population increased. Most new settlers were Slovaks from the area of Békéscsaba. In 1786, Nyíregyháza was granted the right to hold four market days a year; by this time the town was the biggest in the county, with 7,500 inhabitants. In the early 19th century, Nyíregyháza was wealthy enough to secure freedom from its feudal lords, the Dessewffy and Károlyi families. During these prosperous years, the town got a new town hall, a hospital, several schools, and a restaurant by nearby Sóstó lake ("Salty Lake").