Task: Question Generation
Input (English): Passage: In the 1660s, Sweden was at its height as a European great power. It had defeated Denmark, one of its main competitors for hegemony in the Baltic, in both the Torstenson War (1643–45) and the Dano-Swedish War (1657–58). At the Treaties of Brömsebro (1645) and Roskilde (1658), Denmark had been forced to cede the islands of Gotland and Ösel, all of its eastern territories on the Scandinavian Peninsula, and parts of Norway. In a third war, from 1658 to 1660, King Charles X of Sweden attempted to finish off Denmark for good. The move was bold royal ambition in an already highly militarized society geared for warfare, a fiscal-military state. Disbanding its armies would have required paying outstanding wages, so there was an underlying incentive to keep hostilities alive and let soldiers live off enemy lands and plunder. The renewed attack on Denmark threatened the interests of the leading shipping nations of England and the Dutch Republic, who were best served by keeping the Baltic region politically divided. The Dutch intervened in 1658 by sending a fleet to stop the attempt to crush Denmark. England also sent a fleet in November the same year, to assist Sweden in keeping the Sound Toll out of Danish and Dutch control. The English expedition failed as a result of adverse winter weather and the political turmoil that ended the Protectorate, and in the end, Charles' plans were thwarted.Charles X died in February 1660. Three months later, the Treaty of Copenhagen ended the war. Charles' son and successor, Charles XI, was only five when his father died, so a regency council—led by the queen mother Hedvig Eleonora—assumed power until he came of age. Sweden had come close to control over trade in the Baltic, but the war revealed the need to prevent the formation of a powerful anti-Swedish alliance that included Denmark. There were some successes in foreign policy, notably the anti-French Triple Alliance of England, Sweden, and the Dutch Republic. By early 1672, Sweden had improved its relations with France enough to form an alliance. The same year, King Louis XIV attacked the Dutch Republic, and in 1674 Sweden was pressured into joining the war by attacking the Republic's northern German allies. France promised to pay Sweden desperately needed war subsidies on condition that it moved in force on Brandenburg. A Swedish army of 22,000 men under Carl Gustaf Wrangel advanced into Brandenburg in December 1674 and suffered a minor tactical defeat at the Battle of Fehrbellin in June 1675. Though not militarily significant, the defeat tarnished the reputation of near-invincibility that Swedish arms had enjoyed since the Thirty Years' War. This emboldened Sweden's enemies, and by September 1675 Denmark, the Dutch Republic and the Holy Roman Empire were at war with Sweden and France.
Output (English): What nation did the country that lost an important battle in Brandenburg ally with in the war?