[1] The conflict started in 1791 when Gustav III, King of Sweden, sent a gift to Sidi Hassan, Dey of Algiers.
[2][non-primary source needed] As a result, he expelled the Swedish consul, Mathias Skjöldebrand.
[6][7] After the declaration of war in 1791, Sweden opened diplomatic discussions with Algiers.
Swiftly recognizing the need to secure a peaceful resolution, the Swedes demonstrated their commitment by willingly consenting to transfer a substantial sum of 350,000 francs to the dey.
[8] This diplomatic accord also included the provision of an annual tribute of 175,000 rixdollars, cementing their commitment to maintain amicable relations with Algiers.