United Nations (United States) (AFP) - Egypt on Saturday blocked a United Nations Security Council statement backed by the United States condemning the attempted coup in Turkey, diplomats said, though Cairo denied the move.

The United States, following consultations with officials from key NATO ally Turkey, had proposed a draft statement calling on "all parties in Turkey to respect the democratically elected government of Turkey."

But Egypt, currently a non-permanent member of the Security Council, objected, according diplomats. An Egyptian diplomatic source, however, denied that Cairo had blocked the resolution.

"This is a process that requires consensus," he said, adding that Egypt agreed to the "overall objective of the statement" that condemned the violence and called for restraint.

"We proposed to call on all parties to respect the democratic and constitutional principles and rule of law," he said, rather than the initial wording calling for respect for the "democratically elected government."

Egypt's relations with the government of President Recep Tayyip Erdogan have been particularly tense.

Erdogan supports the Muslim Brotherhood of former Egyptian president Mohamed Morsi, who was deposed by the Egyptian army in 2013.

The Turkish leader has denounced that move as a "coup d'etat," drawing the wrath of the Egyptian general behind the ouster, Abdel Fattah al-Sisi, who is now president.

During the UN debate, Egypt argued that it was "not for the Security Council to decide whether the government is democratically elected," and it demanded that the relevant language be deleted, a diplomat said, speaking on condition of anonymity.

Despite US insistence, Egypt would not budge.

Turkey and several Security Council members including the United States worried the statement would have been too weak without wording explicitly supporting the Turkish government.

"So there won't be any statement," the diplomat said.

Such Security Council statements require unanimous approval from the 15-member group.

The brief draft statement had "condemned the violence and unrest in Turkey and stressed the urgent need for an end to the current crisis and return to the rule of law."

It called on all parties to "show restraint and avoid any violence or bloodshed."