What key details about john claudius beresford  can be extracted from the following bio?  Bio: john claudius beresford -lrb- 23 october 1766 -- 20 july 1846 -rrb- was a tory uk member of parliament representing dublin city 1801 -- 1804 and county waterford 1806 -- 1811 .
- caption is portrait by william cumming- successor is robert shaw- party is tory- death date is 20 july 1846 -lrb- aged 79 -rrb-- predecessor is john cash- office is lord waterford member of parliament for dublin city irish parliament -lrb- mayor 1798 -- 1801 -rrb- member of parliament for swords of dublin member of parliament for county- spouse is elizabeth mckenzie menzies- allegiance is kingdom of ireland kingdom of ireland- term end is 1815 june 1811 1804 1798- children is 5- term start is 1814 6 january 1806 1798 1790- birth date is 23 october 1766- name is john claudius beresford- branch is yeomanry- image is portrait dublin.jpg of john claudius beresford , lord mayor of- battles is irish rebellion of 1798- alma mater is trinity college , dublin