Tanks in the Spanish Army have over 90 years of history, from the French Renault FTs first delivered in 1919 to the Leopard 2 and B1 Centauro models of the early 21st century. The Spanish FTs took part in combat during the Rif War and participated in the first amphibious landing with tanks in history, at Alhucemas. In 1925, the Spanish Army began to undertake a program to develop and produce a Spanish tank, an upgraded version of the Renault FT, called the Trubia A4. Although the prototype performed well during testing, the tank was never put into mass production. Spain also experimented with the Italian Fiat 3000, acquiring one tank in 1925, and with another indigenous tank program called the Landesa. However, none of these evolved into a major armor program, and as a result the FT remained the most important tank, in numbers, in the Spanish Army until the beginning of the Spanish Civil War.
Between July 1936 and April 1939, during the Spanish Civil War, the two opposing armies received large quantities of tanks from foreign powers. Spain's Second Republic received tanks from the Soviet Union, many of which were captured by the Nationalists and pressed into service against their former masters, while the Nationalists were aided by the Germans and Italians. The Spanish Civil War, although the testing grounds for the nations which would ultimately take part in World War II, proved inconclusive with regard to the proof of mechanized warfare. Despite attempts by Soviet, German and Italian advisers and soldiers to use newly devised mechanized theories, the lack of quality crews and the tanks, and the insufficient number of tanks provided bad impressions on the usefulness of tanks on their own.
The Spanish Army ended the Spanish Civil War with a fleet of light tanks. Looking to field more modern and capable tanks, the Spanish government and army approved a venture to design and manufacture a better light tank, known as the Verdeja. Although the tank proved extremely capable, a lack of raw materials and incentives doomed the program to failure. Furthermore, the army's requirements were temporarily satisfied by the procurement of Panzer IVs in late 1943. However, the failure to acquire more Panzer IVs led Spain to field a largely antiquated collection of light tanks and an insufficient number of medium tanks. In 1953, the United States and Spain signed a military aid program agreement which led to the supply of M47 Patton and M48 Patton tanks. The American decision to not allow Spain to deploy the new equipment during the war with Morocco caused Spain to look elsewhere for a supplement to their fleet of Patton tanks, ending with the procurement of the AMX-30E, based on the French AMX-30.
Almost immediately after, the Spanish Army and the Spanish Ministry of Defense began to look for a future Spanish tank. This turned into the Lince tank program. Despite numerous bids the Lince program failed, both for financial reasons and because of the decision to instead modernize the existing fleet of AMX-30Es, and to procure a large number of American M60 Patton tanks to replace the fleet of older Patton tanks. Over half of the AMX-30Es were upgraded to a standard known as the AMX-30EM2, while the rest suffered a more finite modification known as the AMX-30EM1. However, the M60s and modernized AMX-30Es did not provide Spain with a sufficiently modern tank for the next century. In 1994, the Spanish Ministry of Defense began to negotiate with the German government over the purchase of the Leopard 2. Ultimately, 108 Leopard 2A4s were procured and integrated into the Spanish Army, while 219 Leopard 2Es were built in Spain, based on the German Leopard 2A6. The Leopard 2E and Leopard 2A4 replaced the fleet of M60 Patton tanks, while Spain's AMX-30EM2s were replaced by Italian B1 Centauro anti-tank cavalry vehicles. Presently, the Spanish Army possesses 108 Leopard 2A4s and 219 Leopard 2Es.