Finnish President Sauli Niinistö said on Tuesday that Turkey has agreed to support Finland and Sweden’s NATO membership bids, removing a major hurdle to the two countries joining the alliance. Niinistö said in a statement that a joint memorandum on the matter was signed by Turkey, Finland and Sweden on Tuesday in Madrid ahead of what is shaping up to be a critical summit. The two nations formally applied to be part of the security alliance in May, propelled by Russia’s invasion of Ukraine. But Turkish President Recep Tayyip Erdoğan had said repeatedly Turkey wouldn’t support the bids, accusing the two countries of harboring members of the separatist militant Kurdistan’s Workers Party, also known as PKK, which Turkey views as a terrorist organization.