Philadelphia became an important trading center and major port. Initially the city's main source of trade was with the West Indies, which had established sugar cane plantations. It was part of the Triangle Trade, associated with Africa and Europe. During Queen Anne's War (1702 and 1713) with the French, trade was cut off to the West Indies, hurting Philadelphia financially. The end of the war brought brief prosperity to all of overseas British possessions, but a depression in the 1720s stunted Philadelphia's growth. The 1720s and '30s saw immigration from mostly Germany and northern Ireland to Philadelphia and the surrounding countryside. The region was developed for agriculture and Philadelphia exported grains, lumber products and flax seeds to Europe and elsewhere in the American colonies; this pulled the city out of the depression.