William Cowper (pronounced Cooper /'ku:pə(r)/) (November 26, 1731 – April 25, 1800)  was an English poet and hymnodist. One of the most popular poets of his time, Cowper changed the direction of 18th century nature poetry by writing of everyday life and scenes of the English countryside.
He suffered from periods of severe depression, and although he found refuge in a fervent evangelical Christianity, the source of his much-loved hymns, he often experienced doubt and fears that he was doomed to
He was born in Berkhamsted, Hertfordshire, England. After education at Westminster School, he was articled to Mr. Chapman, solicitor, of Ely Place, Holborn, in order to be trained for a career in law. During this time, he spent his leisure at the home of his uncle Ashley Cowper, and there fell in love with his cousin Theodora, whom he wished to marry. But as James Croft, who in 1825 first published the poems Cowper addressed to Theodora, wrote, "her father, from an idea that the union of persons so nearly related was improper, refused to accede to the wishes of his daughter and nephew." This refusal left Cowper distraught.
In 1763 he was offered a Clerkship of Journals in the House of Lords, but broke under the strain of the approaching examination and experienced a period of insanity. At this time he tried three times to commit suicide and was sent to Dr. Cotton's asylum at St. Albans for recovery. His poem beginning "Hatred and vengeance, my eternal portions" (sometimes referred to as "Sapphics") was written in the aftermath of his suicide attempt.
After recovering, he settled at Huntingdon with a retired clergyman named Morley Unwin and his wife Mary. Cowper grew to be on such good terms with the Unwin family that he went to live in their house, and moved with them to Olney, where John Newton, a former slave trader who had repented and devoted his life to the gospel, was curate. Not long afterwards, Morley Unwin was killed in a fall from his horse, but Cowper continued to live in the Unwin home and became extremely attached to Mary Unwin.
At Olney, Newton invited Cowper to contribute to a hymnbook that Newton was compiling. The resulting volume known as Olney Hymns was not published until 1779 but includes hymns such as "Praise for the Fountain Opened" (beginning "There is a fountain fill'd with blood") and "Light Shining out of Darkness" (beginning "God moves in a mysterious way") which remain some of Cowper's most familiar verses.
In 1773, Cowper, now engaged to marry Mrs. Unwin, experienced a new attack of insanity, imagining not only that he was condemned to hell eternally, but that God was commanding him to make a sacrifice of his own life. This attack broke off the engagement, but Mary Unwin took care of him with great devotion, and after a year he began again to recover. In 1779, after Newton had left Olney to go to London, Cowper started to write further poetry. Mary Unwin, wanting to keep Cowper's mind occupied, suggested that he write on the subject of The Progress of Error, and after writing his satire of this name he wrote seven others. All of them were published in 1782 under the title Poems by William Cowper, of the Inner Temple, Esq..
The year before this publication, Cowper met a sophisticated and charming widow named Lady Austen who served as a new impetus to his poetry. Cowper himself tells of the genesis of what some have considered his most substantial work, The Task, in his "Advertisement" to the original edition of 1785:
"...A lady, fond of blank verse, demanded a poem of that kind from the author, and gave him the SOFA for a subject. He obeyed; and, having much leisure, connected another subject with it; and, pursuing the train of thought to which his situation and turn of mind led him, brought forth at length, instead of the trifle which he at first intended, a serious affair--a Volume!"
In the same volume Cowper also printed "The Diverting History of John Gilpin", a notable piece of comic verse.
Cowper and Mary Unwin moved to Weston in 1786 and shortly before this became close with his cousin Harriet (Theodora's sister), now Lady Hesketh. During this period he started his translations of Homer's Iliad and Odyssey into blank verse, and his versions (published in 1791) were the most significant English renderings of these epic poems since those of Alexander Pope earlier in the century, although later critics have faulted Cowper's Homer for being too much in the mold of John Milton.
Mary Unwin died in 1796, plunging Cowper into a gloom from which he never fully recovered. He did, however, continue revising his Homer for a second edition of his translation, and, aside from writing the powerful and bleak poem "The Castaway", penned some English translations of Greek verse and turned some of the Fables of John Gay into Latin.
Cowper was seized with dropsy in the spring of 1800 and died in East Dereham, Norfolk.