As solicitor-general he took a prominent part in the trial of Queen Caroline. To the great Liberal measures which marked the end of the reign of George IV and the beginning of that of William IV he gave a vigorous opposition. He was lord chief baron of the exchequer from 1831 to 1834. During the Melbourne administration from 1835 to 1841 he figured conspicuously as an obstructionist in the House of Lords. In these years it was a frequent practice with him, before each prorogation of parliament, to entertain the House with a review of the session, in which he mercilessly attacked the Whig government. His former adversary Lord Brougham, disgusted at his treatment by the Whig leaders, soon became his most powerful ally in opposition; and the two dominated the House of Lords. Throughout all the Tory governments from 1827 Lyndhurst held the chancellorship (1827-1830 and 1834-1835); and in the Peel administration (1841-1846) he resumed that office for the last time. As Peel never had much confidence in Lyndhurst, the latter did not exert so great an influence in the cabinet as his position and experience entitled him to do. But he continued a loyal member of the party. As in regard to Catholic emancipation, so in the agitation against the corn laws, he opposed reform till his chief gave the signal for concession, and then he cheerfully obeyed. After 1846 and the disintegration of the Tory party consequent on Peel's adoption of free trade, Lord Lyndhurst was not so assiduous in his attendance in parliament. Yet he continued to an extreme old age to take a lively interest in public affairs, and occasionally to astonish the country by the power and brilliancy of his speeches. That which he made in the House of Lords on 19th June 1854, on the war with Russia, made a sensation in Europe; and throughout the Crimean War he was a strong advocate of the energetic prosecution of hostilities. In 1859 he denounced with his old energy the restless ambition of Napoleon III. When released from office he came forward somewhat as the advocate of liberal measures. His first wife had died in 1834, and in August 1837 he had married Georgina, daughter of Lewis Goldsmith. She was a Jew; and it was therefore natural that he strenuously supported the admission of Jews into parliament. He also advocated womens rights in questions of divorce. At the age of eighty-four he passed the autumn at Dieppe, helping to fly paper kites, and amusing himself by turns with the writings of the Greek and Latin fathers on divorce and the amorous novels of Eugene Sue. His last speech, marked by his wonted brilliancy and vigour, was delivered in the House of Lords at the age of eighty-nine. He died in London on 12 October 1863. He left no male issue, and the title became extinct.