Giuseppe Garibaldi as his adviser when the Italian patriot visited England in 1862. In 1863, he moved in the House of Commons a resolution of sympathy with the Poles. Stansfeld became Civil Lord of the Admiralty in April 1863. In 1864, as the result of charges made against him by the French authorities, in connection with Greco's conspiracy against Napoleon III, Disraeli, in the House of Commons, accused him of "being in correspondence with the assassins of Europe." Stansfeld was vigorously defended by John Bright and William Edward Forster, and his explanation was accepted as quite satisfactory by Palmerston. Nevertheless, he only escaped a vote of censure by ten votes, and accordingly resigned office in April 1864. In 1865, he was re-elected for Halifax, and became the seventh Under-Secretary of State for India in February 1866 (until July) under Lord Russell. He served in Gladstone's first administration (1868)–74) as a third Lord of the Treasury between December 1868 and November 1869, as Financial Secretary to the Treasury between 2 November 1869 and 17 March 1871, and as the twelfth and last President of the Poor Law Board (with a seat in the cabinet) from March to August 1871, before being appointed the first President of the Local Government Board, on 19 August 1871, a post he held until the Liberals lost power in February 1874. He was sworn of the Privy Council in February 1869. The remainder of his life was mainly spent in endeavouring to secure the repeal of the Contagious Diseases Acts, and in 1886 this objective was attained. He did not serve in Gladstone's second administration (1880–5), and declined the twice-repeated offer of the Deputy Speakership. He later returned to government in Gladstone's third administration on 3 April 1886, when he again became President of the Local Government Board. However, the government fell in July of the same year. Stansfeld did not serve in Gladstone's last administration (1892)–5) and refused a peerage. However, before Lord Rosebery left office in June 1895, Stansfeld was appointed Knight Grand Cross of the Order of the Bath in the 1895 Birthday Honours. He retired as MP for Halifax in the same month. Personal life Stansfeld married Caroline, second daughter of William Henry Ashurst, on 27 July 1844. Their son was the barrister-at-law Joseph James Stansfeld (b. 1852). After his wife's death, on 22 June 1887, Stansfeld married his second wife, Frances,