VIENNA — The United States and Germany are vowing to work closely together on global matters despite strains in their relationship linked to recent espionage accusations.

U.S. Secretary of State John Kerry and German Foreign Minister Frank-Walter Steinmeier delivered a joint statement on the sidelines of Iranian nuclear talks in Vienna.

They each stressed the vital importance of U.S.-German cooperation on global matters ranging from Iran’s nuclear program to violence in the Middle East.

Steinmeier acknowledged recent problems in their ties, without going into detail. Kerry emphasized the great friendship between the nations and their strategic partnership.

Relations have been rocked by numerous reports of U.S. spying in Germany, prompting a request for the CIA chief in Berlin to leave the country.