linguistic:translation, stylistic:style_transfer, linguistic:voice_change, information:highlighting, information:extraction
Final years (1894–1898)

In 1895, at the age of 85, Gladstone bequeathed £ 40,000 (equivalent to approximately £ 5.84 million today) and much of his 32,000 volume library to found St Deiniol's Library in Hawarden, Wales. It had begun with just 5,000 items at his father's home Fasque, which were transferred to Hawarden for research in 1851.

On 8 January 1896, in conversation with L.A. Tollemache, Gladstone explained that: "I am not so much afraid of Democracy or of Science as of the love of money. This seems to me to be a growing evil. Also, there is a danger from the growth of that dreadful military spirit". On 13 January, Gladstone claimed he had strong Conservative instincts and that "In all matters of custom and tradition, even the Tories look upon me as the chief Conservative that is". On 15 January Gladstone wrote to James Bryce, describing himself as "a dead man, one fundamentally a Peel–Cobden man". In 1896, in his last noteworthy speech, he denounced Armenian massacres by Ottomans in a talk delivered at Liverpool. On 2 January 1897, Gladstone wrote to Francis Hirst on being unable to draft a preface to a book on liberalism: "I venture on assuring you that I regard the design formed by you and your friends with sincere interest, and in particular wish well to all the efforts you may make on behalf of individual freedom and independence as opposed to what is termed Collectivism".

In the early months of 1897, Gladstone and his wife stayed in Cannes. Gladstone met Queen Victoria, and she shook hands with him for (to his recollection) the first time in the 50 years he had known her. One of the Gladstones' neighbours observed that "He and his devoted wife never missed the morning service on Sunday... One Sunday, returning from the altar rail, the old, partially blind man stumbled at the chancel step. One of the clergy sprang involuntarily to his assistance but retreated with haste, so withering was the fire which flashed from those failing eyes." The Gladstones returned to Hawarden Castle at the end of March and he received the Colonial Premiers in their visit for the Queen's Jubilee. At a dinner in November with Edward Hamilton, his former private secretary, Hamilton noted that "What is now uppermost in his mind is what he calls the spirit of jingoism under the name of Imperialism which is now so prevalent". Gladstone riposted "It was enough to make Peel and Cobden turn in their graves".

On the advice of his doctor Samuel Habershon in the aftermath of an attack of facial neuralgia, Gladstone stayed at Cannes from the end of November 1897 to mid-February 1898. He gave an interview for The Daily Telegraph. Gladstone then travelled to Bournemouth, where a swelling on his palate was diagnosed as cancer by the leading cancer surgeon Sir Thomas Smith on 18 March. On 22 March, he retired to Hawarden Castle. Despite being in pain he received visitors and quoted hymns, especially Cardinal Newman 's " Praise to the Holiest in the Height ".

His last public statement was dictated to his daughter Helen in reply to receiving the Vice-Chancellor of the University of Oxford's "sorrow and affection": "There is no expression of Christian sympathy that I value more than that of the ancient University of Oxford, the God-fearing and God-sustaining University of Oxford. I served her perhaps mistakenly, but to the best of my ability. My most earnest prayers are hers to the uttermost and to the last". He left the house for the last time on 9 April. After 18 April he did not come down to the ground floor but still came out of bed to lie on the sofa. The Bishop of St Andrews, Dunkeld and Dunblane George Wilkinson recorded when he ministered to him along with Stephen Gladstone:

Shall I ever forget the last Friday in Passion Week, when I gave him the last Holy Communion that I was allowed to administer to him? It was early in the morning. He was obliged to be in bed, and he was ordered to remain there, but the time had come for the confession of sin and the receiving of absolution. Out of his bed he came. Alone he knelt in the presence of his God till the absolution has been spoken, and the sacred elements received.

Gladstone died on 19 May 1898 at Hawarden Castle, Hawarden, aged 88. He had been cared for by his daughter Helen who had resigned from her job to care for her father and mother. The cause of death is officially recorded as "Syncope, Senility". "Syncope" meant failure of the heart and "senility" in the 19th century was an infirmity of advanced old age, rather than a loss of mental faculties. The House of Commons adjourned on the afternoon of Gladstone's death, with A.J. Balfour giving notice for an Address to the Queen praying for a public funeral and a public memorial in Westminster Abbey. The day after, both Houses of Parliament approved the Address and Herbert Gladstone accepted a public funeral on behalf of the Gladstone family. His coffin was transported on the London Underground before his state funeral at Westminster Abbey, at which the Prince of Wales (the future King Edward VII) and the Duke of York (the future King George V) acted as pallbearers. His wife, Catherine Gladstone (née Glynne), died two years later on 14 June 1900 and was buried next to him.