Spencer and his new chief secretary, Gladstone's nephew and Hartington's brother Lord Frederick Cavendish, crossed to Ireland on 5 May, but Cavendish and the permanent under-secretary, Thomas Henry Burke, were murdered by extremist Irish nationalists the next day in Phoenix Park, Dublin, while walking to the Viceregal Lodge where Spencer was staying. Spencer, assisted by George Trevelyan, his new secretary, was now faced with the difficult task of pacifying Ireland. Spencer acted quickly to reform the Irish police forces and destroy the secret societies which had been responsible for the murders. He attracted heavy criticism for his poor handling of a group of murders in Maamtrasna - one of the supposed criminals, Myles Joyce, had been hanged while still proclaiming his innocence, leading to a great deal of condemnation of Spencer from Irish Nationalist sources. The end of Spencer's second tenure as viceroy saw the successful visit of the Prince and Princess of Wales to Ireland, but Spencer's efforts to get the Queen to agree to the creation of a royal residence in Ireland were unsuccessful.