Question: When was Sweden attacked by Denmark
About the article "Denmark", section "Early modern history (1536–1849)".

Candidate passages:
  September 24 – The brief Theater War when Denmark launches an attack on Sweden at Bohuslän as a diversion to support Russia, an allied of Denmark,who had in turn been attacked by Sweden in Gustav III's Russian War.  
The entry into the Third Coalition in 1805, in which Sweden unsuccessfully fought its First War against Napoleon, subsequently led to the occupation of Swedish Pomerania by French troops from 1807 to 1810.
In 1812, when French troops yet again marched into Pomerania, the Swedish Army mobilized and won against Napoleon in the Battle of Leipzig in 1813, together with troops from Russia, Prussia, and Austria.
Sweden also attacked Denmark and, by the Treaty of Kiel on 14 January 1814, Sweden ceded Pomerania to Denmark in exchange for Norway.
The fate of Swedish Pomerania was settled during the Congress of Vienna through the treaties between Prussia and Denmark on 4 June and with Sweden on 7 June 1815.
In this manoeuvre Prussia gained Swedish Pomerania in exchange for Lauenburg which was ceded by Prussia to Denmark.
Denmark also received 2.6 million Thalers from Prussia.
3.5 million Thalers were awarded to Sweden in war damages.
"Swedish Pomerania" was incorporated into Prussia as New Western Pomerania ("Neuvorpommern") within the Prussian Province of Pomerania. 
The First Treaty of Brömsebro was agreed upon in September 1541.
It was an agreement between the two arch enemies Denmark-Norway and Sweden.
The kings of the two countries, Christian III and Gustav I respectively, took part of the negotiations that took place in Brömsebro, a village on the border between the countries.
The treaty would run for 50 years and with the treaty, Denmark-Norway and Sweden agreed upon a joined attitude against the Hanseatic League.
The parties also committed to providing support when the other country was attacked by domestic or foreign enemies, which meant that Danish troops, for example, helped the Swedish king Gustav to suppress a peasant uprising (the Dacke War) the following years. 
The Theater War (), alias Cowberry War (, ), was a brief war between Denmark–Norway and Sweden, starting on 24 September 1788, formally lasting until 9 July 1789.
Although the decision to launch the attack was taken in Denmark, the majority of the attacking soldiers were Norwegians from the Danish-Norwegian army.
The attack was directed towards the area known as Bohuslän in Sweden, and was supposed to be a diversion to support Russia who were allies of Denmark–Norway.
Russia had in turn been attacked by Sweden (Gustav III's Russian War).
Denmark–Norway had to honor their alliance with them, which they had signed in 1773. 
On 2 June 2007, Fandel took charge of the Euro 2008 qualifying game between Denmark and Sweden in Copenhagen, the first ever UEFA qualifier between the two teams.
Denmark had rallied back to 3 - 3 from 0 - 3 down when in the 89th minute, Fandel awarded Sweden a penalty kick and sent off Danish midfielder Christian Poulsen for punching Markus Rosenberg in the stomach.
Seconds later, before the penalty kick could be executed, a Danish fan ran on the pitch and attacked Fandel, managing to put a hand on the referee's neck before being held off by Danish players.
As a result, the officials left the field, abandoning the game.