During World War II, Spain allowed and promoted the Spanish Blue Division of volunteers and conscripts to join the German forces on the condition that they would fight against the Soviet Union only and they would do it with German equipment and uniform. At the same time, allied aircraft made emergency landings in Spanish territories (Melilla, Mallorca) and the Spanish government returned the crews home safely. The aircraft were either scrapped due to poor condition or repaired and allocated in the Spanish Air Force if not reclaimed, or after a negotiated purchase.