Historically, Hungary (as part of the Austro-Hungarian Empire) and Spain were both ruled by the House of Habsburg for a few centuries.
[1] In February 1938 Hungary, led by Miklós Horthy, officially recognized the government of Francisco Franco.
[2] In 1945, soon after the end World War II, Spain broke diplomatic relations with Hungary after that nation became a communist country.
[5] 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.
[7] "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.