Question: The First Silesian war was fought against the King of Prussia who died in what year?

full_context: Document 1: Treaty of Berlin (1742): The Treaty of Berlin between the Habsburg archduchess Maria Theresa of Austria, who was also Queen of Bohemia, and the Prussian king Frederick the Great was signed on 28 July 1742 in Berlin. It was the formal peace treaty that confirmed the preliminary agreement achieved with English mediation by the 11 June Treaty of Breslau, and officially ended the First Silesian War.
Document 2: First Silesian War: The First Silesian War was a theatre of the War of the Austrian Succession. The name is used to describe Prussia's war against Austria between 1740 and 1742, fought mainly in Silesia, Moravia and Bohemia (the lands of the Bohemian Crown). It became the first in a series of three Silesian Wars fought between Frederick the Great's Prussia and Maria Theresa's Austria.
Document 3: Battle of Chotusitz: The Battle of Chotusitz, or Chotusice, sometimes called the Battle of Czaslau, was fought on May 17, 1742, in Bohemia between the Austrians under Prince Charles Alexander of Lorraine and the Prussians under Frederick the Great. The battle was a part of the War of the Austrian Succession, sometimes referred to as the First Silesian War. The armies were about equal at 28,000 to 30,000 each, with the Prussians having about 2,000 more infantry and the Austrians some 2,000 more cavalry. The Austrians were attempting to retake occupied Prague and the Prussians were trying to block them from accomplishing that. The battle of Chotusitz was especially notable in that it was the only major battle started by the Austrians during this war.
Document 4: Battle of Torgau: In the Battle of Torgau on 3 November 1760, King Frederick the Great's Prussian army fought a larger Austrian army under the command of Field Marshal Leopold Josef Graf Daun. The Prussians won a costly victory in one of the bloodiest battles of the Third Silesian War (part of the Seven Years' War).
Document 5: Battle of Mollwitz: The Battle of Mollwitz was fought by Prussia and Austria on 10 April 1741, during the First Silesian War (in the early stages of the War of the Austrian Succession). It was the first battle of the new Prussian King Frederick II, in which both sides made numerous military blunders but Frederick the Great still managed to attain victory. This battle cemented his authority over the newly conquered territory of Silesia and gave him valuable military experience.
Document 6: Prince Henry of Prussia (1726–1802): Frederick Henry Louis (German: "Friedrich Heinrich Ludwig" ) (18 January 1726 – 3 August 1802), commonly known as Henry ("Heinrich "), was a Prince of Prussia and the younger brother of Frederick the Great. He also served as a general and statesman, leading Prussian armies in the Silesian Wars and the Seven Years' War, having never lost a battle in the latter. In 1786, he was suggested as a candidate for a monarch for the United States.
Document 7: List of monarchs of Prussia: The monarchs of Prussia were members of the House of Hohenzollern who were the hereditary rulers of the former German state of Prussia from its founding in 1525 as the Duchy of Prussia. The Duchy had evolved out of the Teutonic Order, a Roman Catholic crusader state and theocracy located along the eastern coast of the Baltic Sea. The Teutonic Knights were under the leadership of a Grand Master, the last of whom, Albert, converted to Protestantism and secularized the lands, which then became the Duchy of Prussia. The Duchy was initially a vassal of the Kingdom of Poland, as a result of the terms of the Prussian Homage whereby Albert was granted the Duchy as part of the terms of peace following the Prussian War. When the main line of Prussian Hohenzollerns died out in 1618, the Duchy passed to a different branch of the family, who also reigned as Electors of Brandenburg in the Holy Roman Empire. While still nominally two different territories, Prussia under the suzerainty of Poland and Brandenburg under the suzerainty of the Holy Roman Empire, the two states are known together historiographically as Brandenburg-Prussia. Following the Second Northern War, a series of treaties freed the Duchy of Prussia from any vassalage to any other state, making it a fully sovereign Duchy in its own right. This complex situation (where the Hohenzollern ruler of the independent Duchy of Prussia was also a subject of the Holy Roman Emperor as Elector of Brandenburg) laid the eventual groundwork for the establishment of the Kingdom of Prussia in 1701. For diplomatic reasons, the rulers of the state were known as the King in Prussia from 1701 to 1772; largely because they still owed fealty to the Emperor as Electors of Brandenburg, the "King in Prussia" title (as opposed to "King of Prussia") avoided offending the Emperor. As the Prussian state grew through several wars and diplomatic moves throughout the 18th century, it became apparent that Prussia had become a Great Power that did not need to submit meekly to the Holy Roman Empire. By 1772, the pretense was dropped, and the style "King of Prussia" was adopted. Thus it remained until 1871, when in the aftermath of the Franco-Prussian War, the King of Prussia Wilhelm I was crowned German Emperor. From that point forward, though the Kingdom of Prussia retained its status as a constituent state of the German Empire, all remaining Kings of Prussia also served as German Emperor, and that title took precedence.
Document 8: Second Silesian War: The Second Silesian War was a theatre of the War of the Austrian Succession. The name is used to describe Prussia's war against Austria between 1744 and 1745, fought mainly in Silesia, Bohemia, and Upper Saxony. It was the second in a series of three Silesian Wars fought between Frederick the Great's Prussia and Maria Theresa's Austria.
Document 9: Third Silesian War: The Third Silesian War was a theatre of the Seven Years' War. The name is used to describe Prussia's war against Austria and its allies between 1756 and 1763, fought mainly in Silesia, Bohemia and Upper Saxony. The war was the third and last in a series of Silesian Wars fought between Frederick the Great's Prussia and Maria Theresa's Austria; like the earlier two, it ended with Prussia in control of the region of Silesia.
Document 10: Frederick William II of Prussia: Frederick William II (German: "Friedrich Wilhelm II." ; 25 September 1744 – 16 November 1797) was King of Prussia, from 1786 until his death. He was in personal union the Prince-elector of Brandenburg and (via the Orange-Nassau inheritance of his grandfather) sovereign prince of the Canton of Neuchâtel. Pleasure-loving and indolent, he is seen as the antithesis to his predecessor, Frederick II. Under his reign, Prussia was weakened internally and externally, and he failed to deal adequately with the challenges to the existing order posed by the French Revolution. His religious policies were directed against the Enlightenment and aimed at restoring a traditional Protestantism. However, he was a patron of the arts and responsible for the construction of some notable buildings, among them the Brandenburg Gate in Berlin.
Document 11: Frederick the Great: Frederick II (German: "Friedrich" ; 24 January 171217 August 1786) was King of Prussia from 1740 until 1786, the longest reign of any Hohenzollern king. His most significant accomplishments during his reign included his military victories, his reorganization of Prussian armies, his patronage of the arts and the Enlightenment in Prussia, and his final success against great odds in the Seven Years' War. Frederick was the last titled King in Prussia and declared himself King of Prussia after achieving full sovereignty for all historical Prussian lands. Prussia had greatly increased its territories and became a leading military power in Europe under his rule. He became known as Frederick the Great ("Friedrich der Große ") and was affectionately nicknamed "Der Alte Fritz " ("Old Fritz") by the Prussian and later by all German people.
Document 12: Silesian Wars: The Silesian Wars (German: "Schlesische Kriege" ) were a series of three wars fought in the mid-18th century between Prussia (under King Frederick the Great) and Austria (under Empress Maria Theresa) for control of Silesia, all three of which ended in Prussian victory. The First (1740–42) and Second (1744–45) Silesian Wars formed a part of the larger War of the Austrian Succession, while the Third Silesian War (1756–63) was one theater of the Seven Years' War.
Document 13: Frederick William II of Prussia: Frederick William II (German: "Friedrich Wilhelm II." ; 25 September 1744 – 16 November 1797) was King of Prussia, from 1786 until his death. He was in personal union the Prince-elector of Brandenburg and (via the Orange-Nassau inheritance of his grandfather) sovereign prince of the Canton of Neuchâtel. Pleasure-loving and indolent, he is seen as the antithesis to his predecessor, Frederick II. Under his reign, Prussia was weakened internally and externally, and he failed to deal adequately with the challenges to the existing order posed by the French Revolution. His religious policies were directed against the Enlightenment and aimed at restoring a traditional Protestantism. However, he was a patron of the arts and responsible for the construction of some notable buildings, among them the Brandenburg Gate in Berlin.
Document 14: Flag of Prussia: The state of Prussia had its origins in the separate lands of the Margraviate of Brandenburg and of the Duchy of Prussia. The Margraviate of Brandenburg developed from the medieval Northern March of the Holy Roman Empire, passing to the House of Hohenzollern in 1415. The Duchy of Prussia originated in 1525 when Albert of Brandenburg-Ansbach, a member of a cadet branch of the Hohenzollerns, secularized the eastern lands of the Teutonic Knights as a Polish fief. Prince-elector John Sigismund, Elector of Brandenburg, inherited the Duchy of Prussia in 1618, thus uniting Brandenburg and Prussia under one ruler in a personal union; the Elector's state became known as Brandenburg-Prussia. The Kingdom of Prussia formed when Elector Frederick III assumed the title of Frederick I, King in Prussia, on 18 January 1701.
Document 15: Louis XIV of France: Louis XIV (5 September 16381 September 1715), known as Louis the Great ("Louis le Grand ") or the Sun King ("le Roi Soleil "), was a monarch of the House of Bourbon who reigned as King of France from 1643 until his death in 1715. His reign of 72 years and 110 days is the longest recorded of any monarch of a sovereign country in European history. In the age of absolutism in Europe, Louis XIV's France was a leader in the growing centralization of power.
ground_truth: 1786