The years he had spent in France he had occupied in improving his general education, for, incredible as it seems, the author of the
History of the War in the Peninsula could not spell or write respectable English till that time. But his career was to be great in literature, not in art. The tendency appeared in an able review of
Jomini's works (Edinburgh Rev.) in 1821, and in 1823 Mr Bickersteth (afterwards Lord Langdale) suggested to him the expediency of writing a history of the
Peninsular War.
For some time he did not take kindly to the suggestion, but at last determined to become an author in order to defend the memory of Sir John Moore, and to prevent the glory of his old chief being overshadowed by that of Wellington. The
Duke of Wellington himself gave him much assistance, and handed over to him the whole of
Joseph Bonaparte's correspondence which had been taken at the
battle of Vittoria; this was all in
cipher, but Mrs Napier, with great patience, discovered the keys. Marshal Soult also took an active interest in the work and arranged for the French translation of Mathieu Dumas.
In
1828 the first volume of the
History appeared. The publisher, John Murray, indeed, was disappointed in the sale of the first volume and Napier published the remainder himself. But it was at once seen that the great deeds of the
Peninsular War were about to be fitly commemorated. The excitement which followed the appearance of each volume is proved by the innumerable pamphlets issued by those who believed themselves to be attacked, and by personal altercations with many distinguished officers. But the success of the book was proved still more by the absence of competition than by these bitter controversies. The histories of
Southey and
Lord Londonderry fell still-born, and Sir George Murray, Wellington's quartermaster-general, who had determined to produce the history, gave up the attempt in despair. This success was due to a combination of qualities which have justly secured for Napier the title of being the greatest military historian England has produced. When in 1840 the last volume of the
History was published, his fame not only in England but in France and Germany was safely established.
His life during these years had been chiefly absorbed in his
History, but he had warmly sympathized with the movement for political reform which was agitating England. The Radicals of Bath and many other cities and towns pressed him to enter parliament, and Napier was actually invited to become tile military chief of a national guard to obtain reforms by force of arms. He refused the dangerous honor on the ground that he was in bad health and had a family of eight children. In
1830 he had been promoted colonel, and in 1842 he was made a major-general and was appointed
Lieutenant Governor of Guernsey. Here he found plenty of occupation in controlling the relations between the soldiers and the inhabitants, and also in working out proposals for a complete scheme of reform in the government of the island.
While he was at Guernsey his brother Charles had conquered
Sind, and the attacks made on the policy of that conquest brought William Napier again into the field of literature. In
1845 he published his
History of the Conquest of Scinde, and in 1851 the corresponding
History of the Administration of Scinde books which in style and vigour rivalled the great
History, but which, being written for controversial purposes, were not likely to maintain enduring popularity. In 1847 he resigned his governorship, and in 1848 was made a K.C.B., and settled at Scinde House, Clapham Park. In 1851 he was promoted lieutenant-general. His time was fully occupied in defending his brother, in revising the numerous editions of his
History which were being called for, and in writing letters to
The Times on every conceivable subject, whether military or literary. His energy is the more astonishing when it is remembered that he never recovered from the effects of the wound he had received at Cazal Nova, and that he often had to lie on his back for months together.
His domestic life was shadowed by the incurable affliction of his only son, and when his brother Charles died in
1853 the world seemed to be darkening round him. He devoted himself to writing the life of that brother, which appeared in 1857, and which is in many respects his most characteristic book. In the end of 1853 his younger brother, Captain Henry Napier, RN., died, and in 1855 his brother
Sir George. Inspired by his work, he lived on till the year 1860, when, broken by trouble, fatigue and ill-health, he died at
Clapham, and was buried at
West Norwood. Four months earlier he had been promoted to the full rank of general.