# Hungary–Spain relations

Hungary–Spain relations are the bilateral relations between Hungary and the Kingdom of Spain. Both nations are members of the Council of Europe, European Union, NATO, OECD and the United Nations.

## History

Historically, Hungary (as part of the Austro-Hungarian Empire) and Spain were both ruled by the House of Habsburg for a few centuries. As such, both empires were allies in several wars such as the Thirty Years' War and the Ottoman–Habsburg wars. In October 1918, the Kingdom of Hungary became independent after the Dissolution of Austria-Hungary.
During the Spanish Civil War, over 1,000 Hungarian volunteers fought for the Republican faction. The Hungarian volunteers had their own battalion known as the Rakosi Battalion. In February 1938 Hungary, led by Miklós Horthy, officially recognized the government of Francisco Franco.
In 1945, soon after the end World War II, Spain broke diplomatic relations with Hungary after that nation became a communist country. In January 1977, both nations re-established diplomatic relations.
As of 2021, bilateral relations between Hungary and Spain were good on a political level. At the time there was no known dispute between the two countries. In 2017, both nations celebrated 40 years of diplomatic relations.
In August 2024 the Spanish government blocked a €600mn bid from Hungarian consortium Ganz-Mavag, a consortium backed by an investment arm of the Hungarian state and by Viktor Orban, for a Spanish trainmaker named Talgo over national security concerns. 45% of the consortium owned by Corvinus, a Hungarian state-owned development finance institution, and the balance "by Hungarian trainmaker Magyar-Vagon, which is controlled by a private equity fund owned by an executive named Csaba Törő and managed through a subsidiary by Hungarian oil company Mol. Hungarian state-owned Eximbank, one of the main overseas financing tools for the Hungarian government, agreed to provide a €345mn loan to Ganz-Mavag, equalling more than half of the offer price." Spain's National Intelligence Center and the Department of National Security wrote negative reports to Minister of Transport Óscar Puente. "Talgo has developed a proprietary variable-gauge vehicle system that allows its high speed trains to automatically adapt to railway tracks with different gauges, permitting for quick cross-border travel. There are concerns that if Ganz-Mávag were to acquire Talgo, its designs could be shared with Moscow."

## Bilateral agreements

Both nations have signed several bilateral agreements such as:
* Judicial Settlement and Arbitration Treaty (1929);
* Air Transport Agreement (1974);
* Agreement on Commercial Exchanges, Navigation, Transport and the Development of Economic, Industrial and Technical Cooperation (1976);
* Agreement for Scientific and Technical Cooperation (1979);
* Cultural and Scientific Cooperation Agreement (1982);
* Tourism Cooperation Agreement (1982);
* Consular Agreement (1982);
* Agreement to Avoid Double Taxation and Prevent Tax Evasion in matters of Income and Wealth Taxes (1984);
* Agreement on Reciprocal Enforcement of Judicial Resolutions in criminal matters (1987);
* Agreement on Mutual Recognition of Certificates and Academic Titles (1989);
* Agreement for the Promotion and Reciprocal Protection of Investments (1989);
* Treaty of Friendship and Cooperation (1992).

## Resident diplomatic missions

* Hungary has an embassy in Madrid and a consulate-general in Barcelona.
* Spain has an embassy in Budapest.
* Embassy of Hungary in Madrid
* Embassy of Spain in Budapest