Question: Between what years did the war, in which Richard Goodwin Keats was an officer in, last?

full_context: Document 1: American Revolution: The American Revolution was a colonial revolt that took place between 1765 and 1783. The American Patriots in the Thirteen Colonies won independence from Great Britain, becoming the United States of America. They defeated the British in the American Revolutionary War in alliance with France and others.
Document 2: Treaty of Alliance (1778): The Treaty of Alliance with France or Franco-American Treaty was a defensive alliance between France and the United States of America, formed in the midst of the American Revolutionary War, which promised mutual military support in case fighting should break out between French and British forces, as the result signing the previously concluded Treaty of Amity and Commerce. The alliance was planned to endure indefinitely into the future. Delegates of King Louis XVI of France and the Second Continental Congress, who represented the United States at this time, signed the two treaties along with a separate and secret clause dealing with future Spanish involvement, at the hôtel de Coislin (4, place de la Concorde) in Paris on February 6, 1778. The Franco-American alliance that would technically remain in effect until the 1800 Treaty of Mortefontaine, despite being annulled by the United States Congress in 1793 when George Washington gave his Neutrality Proclamation speech saying that America would stay neutral in the French Revolution.
Document 3: French and Indian War: The French and Indian War (1754–63) comprised the North American theater of the worldwide Seven Years' War of 1756–63. It pitted the colonies of British America against those of New France. Both sides were supported by military units from their parent countries of Great Britain and France, as well as by American Indian allies. At the start of the war, the French North American colonies had a population of roughly 60,000 settlers, compared with 2 million in the British North American colonies. The outnumbered French particularly depended on the Indians. The European nations declared war on one another in 1756 following months of localized conflict, escalating the war from a regional affair into an intercontinental conflict.
Document 4: Richard Stayner: Vice-admiral Richard Stayner (1625–1662) was an English naval officer who supported the Parliamentary cause during the English Civil War and the Interregnum. During the First Anglo-Dutch War he commanded the "Foresight" in actions at Portland (February), and the Gabbard (June), and in the Battle of Scheveningen (29–31 July), 1653. During the Anglo-Spanish War (1654–60), he won renown and a fortune in prize money when he captured a great part of the Spanish West Indian treasure fleet off Cadiz in 1656. He was knighted by the Lord Protector Oliver Cromwell for services in Admiral Robert Blake's destruction of Spanish ships at Santa Cruz, 1657. He was a rear-admiral of the fleet which brought Charles II to England in 1660. He was again knighted at the Restoration. He died at Lisbon, while serving as vice-admiral of the Mediterranean fleet.
Document 5: Lord Henry Paulet: Lord Henry "Harry" Paulet KCB (1767 – 28 January 1832) was an officer in the Royal Navy who saw service in the American War of Independence, the French Revolutionary and Napoleonic Wars. Born into the British nobility as a younger son of the Marquess of Winchester, he rose through the ranks and had gained his own command by the early stages of the French Revolutionary Wars. He was involved in a number of famous engagements during his career, such as the capture of the French frigate "Gloire" in 1795, though he narrowly missed out on seeing direct action at two of the most significant naval battles of the wars with the French. The first was the Battle of Cape St Vincent, where he had left Jervis's fleet a few days previously, the second was the Battle of Copenhagen, where he remained with Sir Hyde Parker's reserve squadron. He nevertheless rose through the ranks to reach vice-admiral, despite an incident that saw him court-martialled and dismissed, only to be reinstated by the intervention of the King; and a tendency to eccentricity. He married towards the end of the wars with France, and had several children. Paulet served as one of the Lords Commissioners of the Admiralty from 1813, and was installed as a Knight Commander of the Bath in 1815, but ill-health forced his retirement from active service shortly afterwards, and he would die of cancer in 1832.
Document 6: HMS Superb (1798): HMS "Superb" was a 74-gun third rate ship of the line of the Royal Navy, and the fourth vessel to bear the name. She was launched on 19 March 1798 from Northfleet, and was eventually broken up in 1826. "Superb" is mostly associated with Richard Goodwin Keats who commanded her as captain from 1801 until his promotion in 1806. She also served as his flagship from early 1808 until she was paid off in 1809.
Document 7: Anglo-French War (1778–1783): The Anglo-French War was a military conflict fought between France and Great Britain with their respective allies between 1778 and 1783. In 1778, France signed a treaty of friendship with the United States. Great Britain was then at war with France, and in 1779 it was also at war with Spain. As a consequence, Great Britain was forced to divert resources used to fight the war in North America to theatres in Europe, India and the West Indies, and to rely on what turned out to be the chimera of Loyalist support in its North American operations. From 1778 to 1783, with or without their allies, France and Britain fought over dominance in the English Channel, the Mediterranean, the Indian Ocean and the West Indies.
Document 8: Richard Elton Goodwin: Lieutenant-General Sir Richard (Elton) Goodwin KCB CBE DSO (1908–1986) was a senior British Army officer who served in World War II as Commanding Officer of the 1st Battalion, Suffolk Regiment during the campaign in Northwest Europe from June 1944 until May 1945 and later reached high office in the 1960s.
Document 9: Richard Stovin: Lieutenant-General Richard Stovin (died 1825) was a British Army officer during the late eighteenth and early nineteenth centuries. He originally joined the army as an ensign in 1780, and saw service in the American War of Independence, where he may have been taken prisoner after the Battle of Yorktown. After the outbreak of the French Revolutionary Wars, he saw service with a force sent to invade French colonies in the Caribbean, and was taken prisoner in 1794 at Guadeloupe. Released after two years in captivity, he later commanded his regiment in the Netherlands, in the Helder Expedition of 1799, and on garrison duties in the Mediterranean and in India. In the War of 1812 he was appointed to command a division in the forces in Canada, where an island in the St. Lawrence river was named after him.
Document 10: Founding Fathers of the United States: The Founding Fathers of the United States were those individuals of the Thirteen Colonies in North America who led the American Revolution against the authority of the British Crown in word and deed and contributed to the establishment of the United States of America.
Document 11: Peace of Paris (1783): The Peace of Paris of 1783 was the set of treaties which ended the American Revolutionary War. On 3 September 1783, representatives of King George III of Great Britain signed a treaty in Paris with representatives of the United States of America—commonly known as the Treaty of Paris (1783)—and two treaties at Versailles with representatives of King Louis XVI of France and King Charles III of Spain—commonly known as the Treaties of Versailles (1783). The previous day, a preliminary treaty had been signed with representatives of the States General of the Dutch Republic, but the final treaty which ended the Fourth Anglo-Dutch War was not signed until 20 May 1784; for convenience, however, it is included in the summaries below.
Document 12: Richard Goodwin Keats: Admiral Sir Richard Goodwin Keats (16 January 1757 – 5 April 1834) was a British naval officer who fought throughout the American Revolution, French Revolutionary War and Napoleonic War. He retired in 1812 due to ill health and was made Commodore-Governor of Newfoundland from 1813 to 1816. In 1821 he was made Governor of Greenwich Hospital in Greenwich, London. Keats held the post until his death at Greenwich in 1834. Keats is remembered as a capable and well respected officer. His actions at the Battle of Algeciras Bay became legendary.
Document 13: Thirteen Colonies: The Thirteen Colonies were a group of British colonies on the east coast of North America founded in the 17th and 18th centuries that declared independence in 1776 and formed the United States of America. The Thirteen Colonies had very similar political, constitutional, and legal systems, and were dominated by Protestant English-speakers. They were part of Britain's possessions in the New World, which also included colonies in Canada and the Caribbean, as well as East and West Florida.
Document 14: Richard Howe, 1st Earl Howe: Admiral of the Fleet Richard Howe, 1st Earl Howe, {'1': ", '2': ", '3': ", '4': "} (8 March 1726 – 5 August 1799) was a British naval officer. After serving throughout the War of the Austrian Succession, he gained a reputation for his role in amphibious operations against the French coast as part of Britain's policy of naval descents during the Seven Years' War. He also took part, as a naval captain, in the decisive British naval victory at the Battle of Quiberon Bay in November 1759.
Document 15: Richard Onslow (British Army officer): Lieutenant-General Richard Onslow (c.1697 – 16 March 1760) was a British army officer and politician. After the death of their parents, his older brother Arthur bought him a captain's commission in the British Army. He first saw action in the Anglo-Spanish War in 1727, after which he was returned to Parliament for the family borough of Guildford. His political contributions were negligible in comparison to his brother, and he continued to serve as a career officer, holding commands in the War of the Austrian Succession at Dettingen and Fontenoy. In 1759, he was appointed Governor of Plymouth and commander of the Western District, and died as a lieutenant-general the following year while presiding over two prominent courts-martial.
ground_truth: 1765 and 1783