Hungarian Prime Minister Peter Magyar and Ukrainian President Volodymyr Zelenskyy signaled a reset in relations during Magyar’s first visit to Ukraine as prime minister, meeting in Uzhhorod on Tuesday and discussing closer economic cooperation.

The visit began at the city’s military cemetery, where the leaders laid flowers and bowed their heads. One of those buried there is an ethnic Hungarian who was among the first soldiers killed in Russia’s full-scale war of aggression against Ukraine. Magyar chose the memorial rather than a government building for the start of the visit, saying he wanted to show solidarity with Ukraine.

Uzhhorod, known as Ungvar in Hungarian, is the capital of Ukraine’s Transcarpathia region, home to around 80,000 members of the country’s Hungarian minority. Thousands of ethnic Hungarians are fighting Russian occupying forces on the front lines. The war is therefore closer to home for Hungary, where ethnic Hungarian minorities in neighboring countries traditionally play an important role, than for other European countries.

Magyar called the visit a “historic day” in a Facebook post. Before the cemetery ceremony, he said: “I bring with me the solidarity of the Hungarian people. We stand with Ukraine against the Russian aggressor.” Zelenskyy wrote on X: “We appreciate this gesture of respect toward those who sacrificed their lives for Ukraine’s independence.”

The meeting marked a change from the years under Magyar’s predecessor, Viktor Orban, when relations between Hungary and Ukraine reached a historic low. Orban’s propaganda portrayed Ukraine as a “mafia state” and “lawless country” almost daily, while his repeated obstruction of support for Ukraine drove the EU to the brink of despair.

The two leaders shook hands repeatedly during the day and agreed in Uzhhorod to pursue closer economic cooperation. Their talks covered Hungarian diesel supplies to Ukraine, greater use of Ukrainian gas storage facilities by Hungarian companies, and joint infrastructure projects, including new border crossings and a direct rail link between Budapest and Kyiv. No formal agreements were signed on Tuesday.

At a subsequent news conference, journalists raised sensitive issues including minority rights, Ukraine’s EU integration and a new EU loan for Ukraine. Both leaders appeared keen to avoid discord. Magyar called his angry outburst in parliament in late September over Ukraine’s “Carpathian Eight” initiative a “misunderstanding” and suggested Hungary might take part after all. Zelenskyy’s cautious answers suggested he knew Ukraine’s path to EU membership also runs through Budapest.

Magyar said: “We’ve finally put a stop to this completely unnecessary and inexplicable political escalation.” He had promised to reset relations with Ukraine even before taking office in early May 2026, but the process has not been smooth. In many respects, though not all, he is distancing himself from Orban. He has said Russia is the aggressor, while rejecting arms deliveries to Ukraine and the transit of weapons across Hungarian territory.

Magyar previously accused Ukraine of treating ethnic Hungarians as second-class citizens, a claim the article says is not borne out by the facts. He pressed for greater minority rights and for a time blocked the opening of negotiating chapters in Ukraine’s EU accession talks. He also broke with diplomatic convention over the meeting’s location: Magyar invited Zelenskyy to Transcarpathia.

His sometimes confrontational tone toward Ukraine may also reflect a need to avoid appearing too pro-Ukrainian to the Hungarian public. A November 2026 poll by the think tank Globsec found that 33% of Hungarians would support their country providing military aid to Ukraine. That is much more than during Orban’s time in office, although many Hungarians remain skeptical of Ukraine.

Olena Halushka, a Ukrainian political scientist at the International Centre for Ukrainian Victory (ICUV), told DW’s Ukrainian Service that some aspects of the visit were a concession to Hungarian public opinion. “Magyar has taken over a deeply polarized country,” she said. “A visit to Transcarpathia is more of a step for the Hungarian population than for Ukraine.”

Ukraine accepted Magyar’s choice of location and Hungary’s demands for better protection of minority rights, set out in a 10-point plan in June, as EU integration is one of Ukraine’s top political priorities. After planned restrictions on minority-language use were withdrawn in late 2023, Ukraine’s parliament passed a minority-language rights law in early October that in some respects goes further than European standards. Hungary subsequently stopped obstructing the opening of negotiating clusters for Ukraine’s EU accession.

Laszlo Zubanics, chairman of the Hungarian Democratic Federation in Ukraine (UMDSZ, one of two Hungarian political parties in Transcarpathia), told DW the Magyar-Zelenskyy meeting was “historic.” He welcomed the prospect that Ukraine would make practical improvements in minority-rights protections “not only by the end of 2027, but much sooner, within just a few months.”

A Hungarian diplomat who spoke to DW on condition of anonymity also called the meeting “historic.” The diplomat said trust needed to be rebuilt after the Orban government’s anti-Ukrainian policies and that personal meetings between the leaders mattered in that process. Hungary wants to protect the rights of the Hungarian minority and has a strong interest in taking part in Ukraine’s reconstruction, the diplomat said, adding that both sides were keen to expand economic cooperation.

Hungarian political scientist Daniel Hegedus of the Institute for European Politics (IEP) in Berlin told DW the meeting was a “symbolic milestone.” He said it would be important to see “how the two political leaders capitalize on the symbolic political capital generated by this meeting.”

The meeting does not mark a final reconciliation between Hungary and Ukraine. But Tuesday’s reset sends a signal to Europe that, with political will, a deep gulf can be turned into diverging interests addressed through negotiations. As Zelenskyy put it, there are now “all the opportunities to build hopefully constructive relations.”