Turkey cements ties with Azerbaijan with Erdogan visit
Erdogan and his Azerbaijani counterpart Ilham Aliyev announced the agreement in Shusha, a symbolic town recaptured by Azberbaijani forces - with Turkish assistance - in November amid a flare-up in a conflict with ethnic Armenian separatists.
The new agreement will see the already warm friends grow closer, with commitments of mutual military aid and defence industry cooperation.
The two countries are planning to open a travel corridor through the Zangezur region, Aliyev and Erdogan said.
Proposed rail and road transport would link Azerbaijan proper to the Nakhchivan exclave, which has a small border with Turkey but is separated from the rest of Azerbaijan by Armenian territory.
The corridor has previously been proposed by Azerbaijan but is fiercely opposed by Armenia, which says it would violate a ceasefire agreement.
Erdogan also announced Turkey will open a consulate in Shusha - a move that is sure to further anger Armenia and its allies.