Manama (Agencies): Fulfilling a key demand by the opposition for starting a dialogue in the political crisis, Bahrain on Saturday ordered its military off the square in the capital that was the heart of an uprising against the Gulf nation's rulers.

Some jubilant Bahrainis honked car horns, waved flags and flashed victory signs as the armored vehicles began moving away from Pearl Square.

However, it was not clear how protest leaders would respond to the move.

A press photographer saw a contingent of riot police fire tear gas at people celebrating the army withdrawal from the square and detain at least 10 people.

It was not immediately clear if the tanks and other armored vehicles were headed back to military bases, or just pulling back from the square.

According to a government statement, the withdrawal order came from Crown Prince Salman bin Hamad Al Khalifa, deputy supreme commander of the armed forces and the member of the royal family who has been designated to open a dialogue with protest leaders.

The statement said he had ordered "the withdrawal of all military from the streets of Bahrain with immediate effect."

"The Bahrain police force will continue to oversee law and order," the statement said.

Thousands of marchers came under fire Friday as they tried to head toward the square. More than 50 were injured in the second consecutive day of clashes. Protesters took over Pearl Square earlier in the week, but they were driven out in a deadly assault Thursday.

Protesters had said they were determined to take back the square. US President Barack Obama discussed the situation with King Hamad bin Isa Al Khalifa, asking him to hold those responsible for the violence accountable.

Protesters who tried to march to the square Friday described a chaotic scene of tear gas clouds, bullets coming from many directions and people slipping in pools of blood as they sought cover. Some claimed the gunfire came from either helicopters or sniper nests.

The clash came hours after funeral mourners and worshippers at Friday prayers called for the toppling of the Western-allied monarchy in the tiny island nation that is home to the US Navy's 5th Fleet, the centerpiece of the Pentagon's efforts to confront Iranian military influence.

Some members of Bahrain's Sunni ruling system worry that Shiite powerhouse Iran could use Bahrain's majority Shiites as a further foothold in the region.