In 1712, Tordenskjold succeeded in burning 80 Swedish naval cruisers, which played a large part in the outcome of the Great Nordic War . Since Scandinavia now was at peace, the navy focused its resources on other parts of the world, partaking in the colonisation of Africa and the Caribbean. A permanent naval presence of shifting strength was maintained in the Mediterranean Sea - protecting Danish-Norwegian interests in the region - mainly commerces against piracy. The Danish Mediterranean Squadron had numerous minor engagements with The Barbary States during the 1700s and 1800s. On several occasions these hostilities escalated to substantial actions. Some of the more notable can be said to be: the Mediterranean Squadron's bombardment of Algiers in 1770 under the command of contreadmiral Frederik Christian Kaas; the then captain, and future Privy Councillor, Steen Andersen Bille's action at Tripoli in 1797; and commander Hans Georg Garde in a joint Scandinavian expedition in 1844 - which effectively ended the Barbary states' attacks on Scandinavian merchants in the region. A pact of neutrality was made between Denmark  and Sweden, providing a solid basis for commercial expansion.

Question: What year did the last substantial action of the Danish Mediterranean Squadron happen?
Answer: 1844

Question: How many parts of the world did the navy focus their resources on?
Answer: 2

Question: How many years went by between the bombardment of Algiers and Steen Andersen Bille's action at Tripoli?
Answer: 27

Question: Which was a big  deal during the Great Nordic War?
Answer: burning 80 Swedish naval cruisers

Question: How many countries did the navy focused its resources on?
Answer: 2

Question: what had a large navel presence?
Answer: Mediterranean Sea

Question: How many countries was the naval presence there to protect?
Answer: 2

Question: In how many different centuries did the Danish Mediterranean Squadron have numerous minor engagements with The Barbary States?
Answer: 2

Question: How many years passed from when they burned 80 Swedish naval cruiser to when  Barbary states' attacks ended?
Answer: 85

Question: How many countries are in the pact of neutrality?
Answer: 2

Question: Who were the 3 commanders of the substantial actions?
Answer: Frederik Christian Kaas

Question: How many years passed between the bombardment of Algiers and the action at Tripoli?
Answer: 27

Question: Who provided the naval presence that protected Danish-Norwegian interests in the Mediterranean Sea?
Answer: Scandinavia