ISTANBUL (AP) — Greece has offered its support to regional rival Turkey's bid to host the 2020 Olympics.

The prime ministers of both countries have signed an agreement pledging to cooperate on Istanbul's bid for the games.

The bid committee says the accord was signed by Turkish Prime Minister Tayyip Erdogan and Greek Prime Minister Antonis Samaras after meetings in Istanbul on Sunday and Monday.

A joint declaration says both countries are committed to "engage in cooperation with regard to the technical and related aspects in the organization of the 2020 Summer Olympic Games."

Athens last hosted the Olympics in 2004. Istanbul, bidding for a fifth time, is competing against Tokyo and Madrid for the 2020 Games.

Turkey and Greece are cooperating despite remaining at odds over a broad range of issues.