Foley came in for Droitwich on the family interest, taking his seat on 5 Feb. 1805 as his father’s colleague. Like him a Whig, he voted against Pitt’s defence measures, 21 Feb. and 6 Mar. 1805, against the salt tax, 4 Mar., and in the majorities against Melville, 8 Apr. and 12 June. He was listed ‘Opposition’ in July. He supported the Grenville ministry, voting for their repeal of the Additional Force Act, 30 Apr. 1806, and for Brand’s motion against their successors, 9 Apr. 1807. He was also among the ‘staunch friends’ of the abolition of the slave trade.
In 1807 Foley was returned unopposed for Herefordshire where his family was prominent in the Whig interest. It had been anticipated that he would be returned the previous year, but his father’s ‘unaccountable conduct’ and the proverbial irresolution of his family caused him to withdraw then, probably to avoid a contest.
Foley supported Catholic relief throughout 1813 and paired in favour of it in 1816. He voted for Burdett’s Regency motion, 23 Feb. 1813. On 5 Mar. he helped to thwart an attempt by interested parties to amend the Brecon-Abergavenny Canal Act. He denounced the leather tax, 18 May 1813. He voted against the blockade of Norway, 12 May 1814. On 19 Apr. 1815 he seconded the opposition attack on the property tax on the grounds that hostilities against Buonaparte should not be resumed in view of the French preference for him and the burden on the landed interest of the tax. He voted against the war, and for retrenchment in the next two sessions. On 8 Mar. 1816 he attacked the army estimates, stressing the need for ‘constitutional jealousy’ of a standing army: he had on 4 Mar. presented a petition from Leominster against the tax burden which specifically denounced the Military Club on the same grounds. He paired against the suspension of habeas corpus in February 1817 and was still pairing on 29 Apr., after which his only known vote in that Parliament was against Canning’s Lisbon embassy, 6 May 1817. According to Robert Price, 21 Feb. 1818, ‘Foley our Whig Member is very ill, though I still think he is likely to live some time, perhaps some years, longer, though never I fear again to enjoy health’.
Foley resumed his seat for Droitwich, following his father’s death, in February 1819. On 22 Feb. he paired and on 25 Feb. voted against the Windsor establishment. He paired in favour of criminal law reform, 2 Mar., voted for Admiralty retrenchment, 18 Mar., for burgh reform, 6 May, and for Tierney’s censure motion, 18 May. He voted steadily against the foreign enlistment bill in June and for reform on Burdett’s motion, 1 July. That autumn when he was presented with a piece of plate by his Herefordshire friends, Robert Price reported ‘he is ... a little of a Burdettite’.
