Context: Dumfries (; possibly from ) is a market town and former royal burgh within the Dumfries and Galloway council area of Scotland. It is near the mouth of the River Nith into the Solway Firth. Dumfries was a civil parish and became the county town of the former county of Dumfriesshire. Dumfries is nicknamed "Queen of the South". People from Dumfries are known colloquially as "Doonhamers"., Stewartry is a committee area in Dumfries and Galloway, Scotland., Dumfries and Galloway is one of 32 unitary council areas of Scotland and is located in the western Southern Uplands. It comprises the historic counties of Dumfriesshire, Stewartry of Kirkcudbright and Wigtownshire, the latter two of which are collectively known as Galloway. The administrative centre is the town of Dumfries., The Palace of Westminster is the meeting place of the House of Commons and the House of Lords, the two houses of the Parliament of the United Kingdom. Commonly known as the Houses of Parliament after its occupants, it is also known as the 'heart of British politics'. The Palace lies on the north bank of the River Thames in the City of Westminster, in central London., The City of London is a city and county within London. It constituted most of London from its settlement by the Romans in the 1st century AD to the Middle Ages, but the agglomeration has since grown far beyond the City's borders. The City is now only a tiny part of the metropolis of London, though it remains a notable part of central London. Administratively, it forms one of the 33 local authority districts of Greater London; however, the City of London is not a London borough, a status reserved for the other 32 districts (including London's only other city, the City of Westminster). , Kirkcudbrightshire, or the County of Kirkcudbright or the Stewartry of Kirkcudbright is a historic county, registration county and lieutenancy area in the informal Galloway area of south-western Scotland. For local government purposes, it forms part of the wider Dumfries and Galloway council area of which it forms a committee area under the name of the Stewartry., In modern politics and history, a parliament is a legislative, elected body of government. Generally a modern parliament has three functions: representing the electorate, making laws, and overseeing the government ("i.e.", hearings, inquiries)., The Parliament of Scotland, officially the Estates of Parliament, was the legislature of the Kingdom of Scotland. The parliament, like other such institutions, evolved during the Middle Ages from the king's council of bishops and earls. It is first identifiable as a parliament in 1235, during the reign of Alexander II, when it was described as a "colloquium" and already possessed a political and judicial role. By the early fourteenth century, the attendance of knights and freeholders had become important, and from 1326 commissioners from the burghs attended. Consisting of the "three estates" of clergy, nobility and the burghs sitting in a single chamber, the parliament gave consent for the raising of taxation and played an important role in the administration of justice, foreign policy, war, and all manner of other legislation. Parliamentary business was also carried out by "sister" institutions, such as General Councils or Convention of Estates. These could carry out much business also dealt with by parliament  taxation, legislation and policy-making  but lacked the ultimate authority of a full parliament., The Acts of Union 1800 (sometimes erroneously referred to as a single Act of Union 1801) united the Kingdom of Great Britain and the Kingdom of Ireland (previously in personal union) to create the United Kingdom of Great Britain and Ireland with effect from 1 January 1801. Both Acts, though since amended, still remain in force in the United Kingdom, but have been repealed in the Republic of Ireland., The Kingdom of Great Britain, officially Great Britain , was a sovereign state in western Europe from 1 May 1707 to 31 December 1800. The state came into being following the Treaty of Union in 1706, ratified by the Acts of Union 1707, which united the kingdoms of England and Scotland to form a single kingdom encompassing the whole island of Great Britain and its outlying islands. It did not include Ireland, which remained a separate realm. The unitary state was governed by a single parliament and government that was based in Westminster. The former kingdoms had been in personal union since James VI, King of Scots, became King of England and King of Ireland in 1603 following the death of Queen Elizabeth I, bringing about a "Union of the Crowns". Also after the accession of George I to the throne of Great Britain in 1714, the kingdom was in a personal union with the Electorate of Hanover., Lieutenancy areas are the separate areas of the United Kingdom appointed a Lord Lieutenant - the representative of the British monarch. In many cases they have similar demarcation and naming to, but are not necessarily conterminate with, the counties of the United Kingdom., A Member of Parliament (MP) is the 
representative of the voters to a parliament. In many countries with bicameral parliaments, this category includes specifically members of the lower house, as upper houses often have a different title., Kirkcudbright, is a town and parish in Kirkcudbrightshire, of which it is traditionally the county town, within Dumfries and Galloway, Scotland., Scotland (Scots: ) is a country that is part of the United Kingdom and covers the northern third of the island of Great Britain. It shares a border with England to the south, and is otherwise surrounded by the Atlantic Ocean, with the North Sea to the east and the North Channel and Irish Sea to the south-west. In addition to the mainland, the country is made up of more than 790 islands, including the Northern Isles and the Hebrides., Galloway (Gaelic: "Gall-Ghàidhealaibh"; Latin: "Gallovidia") is a region in southwestern Scotland comprising the counties of Wigtown and Kirkcudbright., The Parliament of Great Britain was formed in 1707 following the ratification of the Acts of Union by both the Parliament of England and the Parliament of Scotland. The Acts created a new unified Kingdom of Great Britain and dissolved the separate English and Scottish parliaments in favour of a single parliament, located in the former home of the English parliament in the Palace of Westminster, near the City of London. This lasted nearly a century, until the Acts of Union 1800 merged the separate British and Irish Parliaments into a single Parliament of the United Kingdom with effect from 1 January 1801., The 14 British Overseas Territories (BOT) are territories under the jurisdiction and sovereignty of the United Kingdom. They are those parts of the former British Empire that have not chosen independence or have voted to remain British territories. Most of the inhabited territories are internally self-governing, with the UK retaining responsibility for defence and foreign relations. The rest are either uninhabited or have a transitory population of military or scientific personnel. They share the British monarch (Elizabeth II) as head of state., The Parliament of England was the legislature of the Kingdom of England. In 1066, William of Normandy introduced what, in later centuries, became referred to as a feudal system, by which he sought the advice of a council of tenants-in-chief (a person who held land) and ecclesiastics before making laws. In 1215, the tenants-in-chief secured Magna Carta from King John, which established that the king may not levy or collect any taxes (except the feudal taxes to which they were hitherto accustomed), save with the consent of his royal council, which gradually developed into a parliament., Kirkcudbright Stewartry , later known as Kirkcudbright or Kirkcudbrightshire , was a constituency of the House of Commons of the Parliament of Great Britain from 1708 to 1801 and of the Parliament of the United Kingdom from 1801 to 1918 . It was represented by one Member of Parliament ( MP ) . The first election in the stewartry was in 1708 . In 1707 - 08 , members of the 1702 - 1707 Parliament of Scotland were co-opted to serve in the 1st Parliament of Great Britain . See Scottish representatives to the 1st Parliament of Great Britain , for further details . In 1918 the area was combined with Wigtownshire to form the Galloway constituency ., The Parliament of the United Kingdom, commonly known as the UK Parliament or British Parliament, is the supreme legislative body in the United Kingdom, British Crown dependencies and British overseas territories. It alone possesses legislative supremacy and thereby ultimate power over all other political bodies in the UK and its territories. Its head is the Sovereign of the United Kingdom (currently Queen Elizabeth II) and its seat is the Palace of Westminster in the City of Westminster, London., A registration county was, in Great Britain and Ireland, a statistical unit used for the registration of births, deaths and marriages and for the output of census information. In Scotland registration counties are used for land registration purposes., The City of Westminster is an Inner London borough which also holds city status. It occupies much of the central area of Greater London including most of the West End. It is to the west of and adjoining the ancient City of London, directly to the east of the Royal Borough of Kensington and Chelsea, and its southern boundary is the River Thames. It was created with the 1965 establishment of Greater London. Upon creation, Westminster was awarded city status, which had been previously held by the smaller Metropolitan Borough of Westminster., Subject: kirkcudbright stewartry , Relation: located_in_the_administrative_territorial_entity, Options: (A) centre (B) city of westminster (C) dumfries (D) dumfries and galloway (E) east (F) elizabeth (G) england (H) europe (I) galloway (J) greater london (K) hanover (L) ireland (M) kensington (N) king (O) kingdom of great britain (P) kirkcudbright (Q) kirkcudbrightshire (R) london (S) mainland (T) most (U) northern (V) of (W) royal borough of kensington and chelsea (X) scotland (Y) united kingdom (Z) united kingdom of great britain and ireland ([) westminster
Output: dumfries and galloway