Zelensky reported this on the X social media platform, Ukrinform reports.
"I spoke with Pedro Sanchez and congratulated him on his reelection as Spain's Prime Minister. I am glad to continue our friendly and constructive dialogue," Zelensky said.
Both parties also discussed security issues and Ukraine's progress toward finalizing all of the European Commission's recommendations on the eve of the European Council summit.
"We expect the Spanish EU Presidency to conclude with a historic decision to open Ukraine's EU accession negotiations," Zelensky said.