The Azeri Foreign Ministry said Sunday that the agreement "clouds the spirit of brotherly relations" between Azerbaijan and Turkey. It said Turkey should not have re-established diplomatic ties with Armenia before the conflict over Nagorno-Karabakh was settled.
Armenia and Turkey agreed Saturday to establish diplomatic relations and open their border, which was sealed after the 1993 Armenian invasion of Nagorno-Karabakh, an area dominated by ethnic Armenians.
Azerbaijan and Turkey share cultural and linguistic ties, and Turkish leaders pledged earlier to help Azeris recover the enclave.