he was pardoned in 1378 at the insistence of his commander, Sir Thomas Trivet. Justiciar of Ireland The year 1386 saw his first appointment in Ireland as deputy to Robert de Vere, Duke of Ireland. This occurred because of the insurrection created by the friction between Sir Philip Courtenay, the English Lieutenant of Ireland, and his appointed governor James Butler, 3rd Earl of Ormond. Stanley led an expedition to Ireland on behalf of de Vere and King Richard II to quell it. He was accompanied by Bishop Alexander de Balscot of Meath and Sir Robert Crull. Butler joined them upon their arrival in Ireland. Because of the success of the expedition, Stanley was appointed to the position of Lord Lieutenant of Ireland, Alexander to Chancellor, Crull to Treasurer, and Butler to his old position as Governor. In 1389 Richard II appointed him Justiciar of Ireland, a post he held until 1391. He was heavily involved in Richard's first expedition to Ireland in 1394–1395. Throughout the 1390s he was involved in placating possible rebellion in Cheshire. Between 1396 and 1398 he served as Captain of Roxburgh Castle. He took part in Richard II's expedition to Ireland in 1399. However, on his return to England, Stanley, who had long proved adept at political manoeuvring, turned his back on Richard and submitted to King Henry IV, the first of the House of Lancaster. Under the Lancastrians Stanley's fortunes were equally good under the Lancastrians. He was granted lordships in the Welsh Marches, and served a term as Lieutenant of Ireland. In 1403 he was made Steward of the Household of Henry, Prince of Wales, (later Henry V). Unlike many of the Cheshire gentry, he took the side of the king in the rebellion of the Percys. He was wounded in the throat at the Battle of Shrewsbury. In 1405 he was granted the tenure of the Isle of Man, which had been confiscated from the rebellious Henry Percy, 1st Earl of Northumberland. In this period he also became Steward of the Household to King Henry IV, and was appointed by him a Knight of the Garter. In 1413 King Henry V of England sent him to serve once more as Lieutenant of Ireland. Death and burial In 1414 he died at Ardee, County Louth, Ireland, after being satirised by the O'Higgins' of Meath for despoiling the lands and raiding the cows of Niall