Question: Dumfriesshire was a county constituency represented in the House of Commons of Great Britain, at The Palace of Westminster is the meeting place of the House of Commons and the House of Lords, from 1801 until which year?
Context: Dunbartonshire was a county constituency of the House of Commons of Great Britain (at Westminster) from 1708 to 1801 and of the House of Commons of the Parliament of the United Kingdom (also Westminster) from 1801 to 1950.  It elected one Member of Parliament (MP) using the first-past-the-post voting system. Roxburghshire was a county constituency of the House of Commons of the Parliament of Great Britain (at Westminster) from 1708 to 1801, and of the Parliament of the United Kingdom (also at Westminster) from 1801 to 1918.  It elected one Member of Parliament (MP) by the first past the post voting system. Cornwall is a former county constituency covering the county of Cornwall, in the South West of England.  It was a constituency of the House of Commons of England then of the House of Commons of Great Britain from 1707 to 1800 and of the House of Commons of the United Kingdom from 1801 to 1832.  It was represented by two Knights of the Shire, elected by the bloc vote system. County Kilkenny parliamentary constituency was a former UK Parliament County constituency in County Kilkenny in Ireland.  The County constituency returned two Members of Parliament (MP) in the House of Commons of the United Kingdom of Great Britain and Ireland, from 1801 until 1885. Droitwich was the name of a constituency of the House of Commons of England in 1295, and again from 1554, then of the House of Commons of Great Britain from 1707 to 1800 and of the House of Commons of the Parliament of the United Kingdom from 1801 to 1918.  It was a parliamentary borough in Worcestershire, represented by two Members of Parliament until 1832, and by one member from 1832 to 1885.  The name was then transferred to a county constituency electing one MP from 1885 until 1918. Wilton was the name of a parliamentary borough in Wiltshire.  It was represented in the House of Commons of the Parliament of England from 1295 to 1707, then in the Parliament of Great Britain from 1707 to 1800 and finally in the House of Commons of the United Kingdom of the Parliament of the United Kingdom from 1801 to 1918.  It had two Members of Parliament (MPs) until 1832, but from 1832 to 1885 only one member, as a result of the Reform Act 1832.  In 1885 the borough was abolished, but the name of the constituency was then transferred to a new county constituency electing one Member from 1885 until 1918. Dumfriesshire was a county constituency represented in the House of Commons of Great Britain (at Westminster) from 1708 to 1801 and in the House of Commons of the Parliament of the United Kingdom (also at Westminster) from 1801 until 2005.  It was known as Dumfries from 1950.  It was redistributed to Dumfriesshire, Clydesdale and Tweeddale and Dumfries and Galloway as part of a major reorganisation of Scottish constituencies. Scottish Westminster constituencies were Scottish constituencies of the House of Commons of the Parliament of Great Britain, normally at the Palace of Westminster, from 1708 to 1801, and have been constituencies of the House of Commons of the Parliament of the United Kingdom, also at Westminster, since 1801.  Constituency boundaries have changed on various occasions, and are now subject to both periodical and ad hoc reviews of the Boundary Commission for Scotland. Argyllshire was a county constituency of the House of Commons of the Parliament of Great Britain from 1708 to 1800 and of the House of Commons of the Parliament of the United Kingdom from 1801 until 1983.  The constituency was named Argyll from 1950.  The constituency was replaced in 1983 with Argyll and Bute. 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, the Palace lies on the north bank of the River Thames in the City of Westminster, in central London.
Answer: 2005