Question: Varaždin Generalate was a province that was part of the Kingdom that had what city as its capital?
Context: Stefan Osmokruhović (German: "Stefan Osmokruch" , ; 1665–died in 1666) was the great judge (de.  "Grossrichter", sr. "veliki sudac") of the Križevci captainate, who in 1665 led a revolt of the Grenz infantry soldiers in the Varaždin generalate of the Military Frontier against the Austrian officers, after the rights of the frontiersmen had been compromised.  A Serb, Osmokruhović held secret meetings in the Slavonian Military Frontier, in which many Serbs took part in.  He was also supported by the judges of Koprivnica and Ivanica, Ilija Romanović and Nikola Vuković, and they all sent letters to the Austrian Leopold I, Holy Roman Emperor about the issues in March 1666.  Appointed the commander of the Varaždin frontiersmen themselves and named great judge ("Veliki Sudac"), he claimed to answer to no one besides the Austrian Emperor, and sought that the frontiersmen's right to ownership of the land between the Sava and Drava be recognized, among other issues.  Austrian lieutenant general Fra Johann Josef Herberstein (1639-1689) went to Križevci and demanded that his candidate be accepted as great judge, but the candidate was murdered by the frontiersmen.  The revolt was finally suppressed in 1666 by Herberstein, and Osmokruhović was sentenced to death. The Province of Pesaro and Urbino (Italian: "Provincia di Pesaro e Urbino" , ] ) is a province in the Marche region of Italy.  Its capital is the city of Pesaro.  It also borders the state of San Marino.  The province is surrounded by San Marino and Emilia Romagna in the north, Umbria and Tuscany in the west, Ancona in the south and the Adriatic Sea on the east.  The province has an enclave of the umbrian common of Citta' di Castello named Monte Ruperto.The province is also known as "Riviera of Hills".  It is mostly covered by hills and is popular for its beaches.  The Ceramics museum and the Biblioteca Oliveriana are located in the capital city.  The County Council is based in Pesaro while the headquarters of the provincial administration are in Urbino.  The coat of arms of the province consists of a shield divided into two parts, each part is given the coat of arms of the two capitals.  It has a robust economy with low unemployment, based on craft and small and medium industries, agriculture, tourism, resorts and cultural center.  It has a very low per capita energy consumption.  The art and craft industry contributes to 22% of the province's GDP.  Tourism in the province plays a primary role in the local economy, the main attractions are the sea and the Apennines.  The beaches of Gabicce Mare, Pesaro, Fano and Marotta are the most famous ones. National Highway 5 or National Road No.5 (10005) is one of the national highways of Cambodia.  With a length of 407.45 km , it connects the capital of Phnom Penh with Thailand.  NH5 leaves Phnom Penh in a north to northwest direction, it first borders the Tonle Sap, three bridges the Chroy Changvar, the Prek Kdam and the Prek Pnov link the Est of the country.  Then it moves away from the river/lake because the land there is flooded part of the year and it exits Kandal Province and traverses Kampong Chhnang Province from the junction with Road 51, north to Kampong Chhnang City, then northwest to Baribour District where it crosses into Pursat Province.  From there, it skirts the Tonle Sap lake and continues west to Pursat town, the provincial capital.  Leaving Pursat, NH5 again turns northwest and leads to Battambang Province, passing through another provincial capital at Battambang city and continuing on to Serei Saophoan District in Banteay Meanchey Province where it meets the terminus of NH6 and bends westward towards its own terminus at Poipet on the Thai border. The Kingdom of Croatia (Croatian: "Kraljevina Hrvatska"; Latin: "Regnum Croatiae" Hungarian: "Horvát Királyság" German: "Königreich Kroatien" ) was an administrative division that existed between 1527 and 1868 within the Habsburg Monarchy (also known between 1804 and 1867 as the Austrian Empire).  The Kingdom was a part of the Lands of the Crown of St. Stephen, but was subject to direct Imperial Austrian rule for significant periods of time, including its final years.  Its capital was Zagreb. Varaždin County (Croatian: "Varaždinska županija" ; Hungarian: "Varasd vármegye" ) was an administrative subdivision ("županija") of the Kingdom of Croatia-Slavonia.  Croatia-Slavonia was an autonomous kingdom within the Lands of the Crown of Saint Stephen (Transleithania), the Hungarian part of the dual Austro-Hungarian Empire.  Its territory is now in northern Croatia.  The capital of the county was Varaždin (Croatian, in Hungarian: "Varasd"). Wandu, called Hwando in Korean, was the second capital of the Goguryeo kingdom.  The remains of the mountain fortress are part of the UNESCO World Heritage Site Capital Cities and Tombs of the Ancient Koguryo Kingdom.  It is located 2.5 kilometers west of Ji'an, Jilin province in Northeast China, near the North Korean border.  It is part of the UNESCO World Heritage Site Capital Cities and Tombs of the Ancient Koguryo Kingdom, together with nearby Guonei City and the Wunü Mountain City. The Province of West Prussia (German: "Provinz Westpreußen" ; Kashubian: "Zôpadné Prësë" ; Polish: "Prusy Zachodnie" ) was a province of the Kingdom of Prussia from 1773 to 1824 and again from 1878 (with the Kingdom itself being part of the German Empire from 1871); it also briefly formed part of the Weimar Republic's Free State of Prussia until 1919/20.  It was created out of the earlier Polish province of Royal Prussia following the First Partition of Poland.  In February 1920, following Germany's defeat in 1918, West Prussia was divided: the mainly Slavic-speaking central parts became the Pomeranian Voivodeship of the Second Polish Republic, also known as the Polish Corridor; the city of Danzig became the Free City of Danzig, a semi-autonomous city-state under the protection of the League of Nations; the remaining territory was retained by the Free State of Prussia/Weimar Republic, with the western parts being joined to what remained of the former Province of Posen to form the new Posen-West Prussia Province, and the eastern parts being joined to the Province of East Prussia as Regierungsbezirk West Prussia.  The territory was included within Reichsgau Danzig-West Prussia 1939–45, after which it became part of Poland. The A4 motorway (Croatian: "Autocesta A4" ) is a motorway in Croatia spanning 97.0 km .  It connects the nation's capital, Zagreb, to the city of Varaždin and to Budapest, Hungary via the Goričan border crossing.  The motorway represents a major north–south transportation corridor in Croatia and is a part of European routes E65 and E71.  The A4 motorway route also follows Pan-European corridor Vb. The Varaždin Generalate (German: "Warasdiner Generalat" , Croatian: "Varaždinski generalat" ), also known as the "Windische Grenze" ("Wendian/Wendish [Slavic] Border") in German, was a Habsburg Monarchy Military Frontier province centred in Warasdin (Varaždin), Kingdom of Croatia within Habsburg Monarchy, that existed between 1531 and the 18th century. The lands situated in the present-day Phitsanulok Province of Thailand have been inhabited since the stone age, although the neolithic inhabitants of the region are not likely to have been the ancestors of the modern Thai people who reside there today.  The earliest historical records relating to what is now Phitsanulok Province indicates that at a time prior to or during the 11th century, the present-day city of Phitsanulok was but a small strategic Khmer outpost known as "Song Khwae".  During the next century, in 1188, Nakhon Thai, located near the center of the present Phitsanulok Province, was established as the capital city of the Singhanavati Kingdom, an early city-state of Thailand.  Later, during Thailand's Sukhothai Period, the city of Phitsanulok emerged as a major city in the east of the Sukhothai Kingdom, and the great temples of Wat Chula Manee, Wat Aranyik and Wat Chedi Yod Thong were constructed.  In 1357, the renowned Wat Phra Sri Rattana Mahathat was erected, and the Ayutthaya Period witnessed the construction of several of the province's other chief temples.  Phitsanulok served for 25 years as the capital city of the Ayutthaya Kingdom.  In 1555, King Naresuan the Great was born in the city of Phitsanulok.  Naresuan played a significant role in the history of Thailand, as he expanded the kingdom (then called "Siam") to its greatest territorial extent, by conquering sizable portions of modern-day Burma and Cambodia.  In recent times, Phitsanulok Province has become an important agricultural center, part of the "Bread Basket of Thailand", providing rice and other crops to consumers in Thailand and throughout the world.  Extensive agricultural development over the last hundred years or so has spawned a modern infrastructure in the urban areas of the province, bringing with it an array of modern roads, universities, hospitals and other conveniences.  Over the years, the Nan River and its tributaries have played a substantial role in the history and development of the region by providing a route for transportation, fertile soil for agriculture, and water for irrigation.  The river waters have also served as a route for enemy invaders, and have been the source of periodic widespread flooding throughout the province.
Answer: Zagreb