 England then invoked long-standing treaties with Portugal dating from 1373 (Anglo-Portuguese Alliance) and 1386 (Treaty of Windsor) and Portugal honored these by granting a military base in the Azores to the Allies.The Allies then promised all possible aid in the event of a German attack against Portugal.Portugal continued to export wolfram and other goods to both Allied countries and Germany (partly via Switzerland) until 1944 when Portugal declared a total embargo of wolfram to Germany.