Question: Which treaty ended the war in which the Battle of Stromboli took place ?

Context paragraphs:
Treaty of Vienna (1864): The Treaty of Vienna (Danish: "Freden i Wien" ; German: "Frieden von Wien" ) was a peace treaty signed on 30 October 1864 in Vienna between the Austrian Empire, the Kingdom of Prussia, and the Kingdom of Denmark.  The treaty ended the Second War of Schleswig.  Its terms provided that Prussia would administer Schleswig and Austria would similarly govern Holstein.  Disputes over the administration of the two provinces would lead to the 1866 Austro-Prussian War.

Battle of Dublin: The Battle of Dublin was a week of street battles in Dublin from 28 June to 5 July 1922 that marked the beginning of the Irish Civil War.  Six months after the Anglo-Irish Treaty ended the recent Irish War of Independence, it was fought between the forces of the new Provisional Government and a section of the Irish Republican Army (IRA) that opposed the Treaty.  The fighting began with an assault by Provisional Government forces on the Four Courts building, which had been occupied by the Anti-Treaty IRA, and ended in a decisive victory for the Provisional Government.

Treaty of Hubertusburg: The Treaty of Hubertusburg (German: "Frieden von Hubertusburg" ) was signed on 15 February 1763 at Hubertusburg Castle by Prussia, Austria and Saxony to end the Third Silesian War.  Together with the Treaty of Paris, signed five days earlier, it marked the end of the Seven Years' War.  The treaty ended the continental conflict with no significant changes in prewar borders.  Austria and Saxony renounced all claims to the Silesian territories ceded to Prussia in the 1742 Treaty of Berlin and the 1745 Treaty of Dresden.  Prussia clearly stood among the ranks of the European great powers, while the treaty enhanced the rivalry with Austria.

Battle of Stromboli: The naval Battle of Stromboli took place on 8 January 1676 during the Franco-Dutch War between a French fleet of 20 ships under Abraham Duquesne and a combined fleet of 19 Dutch and one Spanish ship under Lieutenant-Admiral-General Michiel de Ruyter that lasted eight hours and ended inconclusively.  The fleets fought again at the Battle of Augusta.

Treaty of Versailles: The Treaty of Versailles (French: "Traité de Versailles" ) was the most important of the peace treaties that brought World War I to an end.  The Treaty ended the state of war between Germany and the Allied Powers.  It was signed on 28 June 1919 in Versailles, exactly five years after the assassination of Archduke Franz Ferdinand.  The other Central Powers on the German side of World War I signed separate treaties.  Although the armistice, signed on 11 November 1918, ended the actual fighting, it took six months of Allied negotiations at the Paris Peace Conference to conclude the peace treaty.  The treaty was registered by the Secretariat of the League of Nations on 21 October 1919.

Treaty of San Stefano: The Preliminary Treaty of San Stefano (Russian: Сан-Стефанский мир; Peace of San-Stefano, Сан-Стефанский мирный договор; Peace treaty of San-Stefano, Turkish: "Ayastefanos Muahedesi" or "Ayastefanos Antlaşması") was a treaty between Russia and the Ottoman Empire signed at San Stefano, then a village west of Constantinople, on 3 March [O.S. 19 February] 1878 by Count Nicholas Pavlovich Ignatiev and Aleksandr Nelidov on behalf of the Russian Empire and Foreign Minister Safvet Pasha and Ambassador to Germany Sadoullah Bey on behalf of the Ottoman Empire.  The treaty ended the Russo-Turkish War, 1877–78.

Franco-Dutch War: The Franco-Dutch War (1672–78), often simply called the Dutch War (French: "Guerre de Hollande" ; Dutch: "Hollandse Oorlog" ), was a war fought by France, Sweden, Münster, Cologne and England against the Dutch Republic, which was later joined by the Austrian Habsburg lands, Brandenburg-Prussia and Spain to form a Quadruple Alliance.  The war ended with the Treaty of Nijmegen, by which Spain ceded the Franche-Comté and some cities in Flanders and Hainaut to France, while France returned some of its conquests (Maastricht and the Principality of Orange) to the Dutch.

Treaty of Schönbrunn: The Treaty of Schönbrunn (French: "Traité de Schönbrunn" ; German: "Friede von Schönbrunn" ), sometimes known as the Treaty of Vienna, was signed between France and Austria at Schönbrunn Palace near Vienna on 14 October 1809.  The treaty ended the Fifth Coalition during the Napoleonic Wars, after Austria had been defeated at the decisive Battle of Wagram on July 5/6.

Treaty of the Dardanelles: The Treaty of the Dardanelles (also known as the Dardanelles Treaty of Peace, Commerce, and Secret Alliance, the Treaty of Çanak, the Treaty of Chanak or Turkish: "Kale-i Sultaniye Antlaşması" ) was concluded between the Ottoman Empire and the United Kingdom of Great Britain and Ireland on 5 January 1809 at Çanak, Ottoman Empire.  The treaty ended the Anglo-Turkish War.  The Porte restored extensive British commercial and legal privileges in the empire.  The United Kingdom promised to protect the integrity of the Ottoman Empire against the French threat, both with its own fleet and through weapons supplies to Constantinople.  The treaty affirmed the principle that no warships of any power should enter the Straits of the Dardanelles and the Bosporus.  The treaty anticipated the London Straits Convention of 1841, by which the other major powers committed themselves to this same principle.

Ostrów Agreement: The Ostrów or Astrava Agreement (Lithuanian: "Astravos sutartis" , Belarusian: Востраўскае пагадненне , Polish: "Ugoda w Ostrowie" ) was a treaty between Jogaila (Władysław II Jagiełło), King of Poland and Grand Duke of Lithuania, and his cousin Vytautas the Great, signed on 4 August 1392.  The treaty ended the destructive Lithuanian Civil War, launched in 1389 by Vytautas who hoped to gain political power, and concluded the power struggle between the two cousins that erupted in 1380 after Jogaila secretly signed the Treaty of Dovydiškės with the Teutonic Knights.  The Ostrów Agreement did not stop attacks from the Teutonic Knights and the territorial dispute over Samogitia continued up to 1422.  According to the treaty, Vytautas became the ruler of Lithuania (styled Grand Duke), but he also acknowledged Jogaila's (styled Supreme Duke) rights to Lithuania.  The details of the Polish–Lithuanian relationship were clarified in several later treaties, including the Union of Vilnius and Radom in 1401 and Union of Horodło in 1413.

Supporting paragraphs: Battle of Stromboli Franco-Dutch War
Answer: the Treaty of Nijmegen