The Danish war was took place between

The Danish war took place between Denmark and various other countries at different points in history.

One of the most notable Danish wars is the Dano-Swedish War of 1658-1660. It was fought between Denmark-Norway and Sweden during the Second Northern War. The conflict primarily revolved around the control of Baltic territories and trade routes. Sweden, under the leadership of King Charles X Gustav, launched a surprise invasion of Denmark and quickly captured large parts of Danish territory. However, Denmark managed to rally its forces, and with the help of various allies, including the Dutch Republic and Austria, they were able to resist the Swedish advances. Ultimately, the war ended in a stalemate with the signing of the Treaty of Copenhagen in 1660, which restored pre-war territorial boundaries.

Another significant Danish war was the First Schleswig War or the Three Years' War, which took place from 1848 to 1851. This conflict was fought between Denmark on one side and the German Confederation (supported by Prussia and Austria) on the other. The war erupted over conflicts regarding the status of the duchies of Schleswig and Holstein, which were ruled by the Danish king but had a predominantly German-speaking population. The Danish government's attempts to integrate the duchies into the Danish realm sparked resistance from the German speakers, and it escalated into a full-blown war. The Danish forces were initially successful but were eventually overwhelmed by the German Confederation's superior military power. The war concluded with the signing of the Treaty of Vienna in 1851, which resulted in the territorial compromise that allowed both Denmark and Prussia to rule Schleswig and Holstein jointly.

These are just two examples of the Danish wars fought throughout history. Denmark has also been involved in conflicts such as the Napoleonic Wars and World War II.