The Hanseatic League was a commercial and defensive confederation of merchant guilds and their market towns. The League was created to generate economic interest and diplomatic ties between the countries and towns it took place in. The Hanseatic League was so prominent that the towns in the league had their own armies for mutual protection and aid.