Updated

Thousands of Lebanese gathered Wednesday at the grave of former Prime Minister Rafik Hariri to mark the second anniversary of his assassination as the government deployed hundreds of troops a day after bus bombings killed three people.

Troops in full combat gear and armored cars deployed in and around Martyrs' Square, where the country's two main rival groups were present: government supporters commemorating Hariri's death and opposition supporters continuing their daily sit-in to demand the government's resignation.

The soldiers set up a razor wire barrier to separate the two groups. Police conducted body searches of people arriving in the square.

• Visit FOXNews.com's Mideast Center for more in-depth coverage.

Tuesday's explosions on commuter buses on a busy mountain highway northeast of Beirut stoked fears of turmoil as the country prepared to mark the 2005 assassination of Hariri, the nation's most prominent politician and the leader credited with rebuilding the country from the destruction of the 1975-90 civil war.

Lebanon has suffered a series of bombings during the past two years, mostly targeting anti-Syrian figures, but Tuesday's attacks were the first that seemed intended to cause maximum casualties among civilians of no political affiliation.

"We will hunt down the criminals and confront them," Prime Minister Fuad Saniora vowed in a televised speech Tuesday evening.

The U.N. Security Council condemned the bombing, urging all Lebanese parties to exercise restraint and stressing its support for the government.

The pro-government majority in parliament said it held "the Syrian regime fully responsible for this despicable crime." Syria routinely denies involvement in Lebanese unrest.

Government supporters said the blasts were intended to scare people away from Wednesday's commemoration. They urged their supporters to show up in large numbers.

The government, which has faced down months of demonstrations calling for its resignation, declared Wednesday a national holiday, closing schools, universities, banks and public institutions in a move that would allow for a big turnout.

In a bid to allow the anniversary to pass peacefully, the major opposition figure, Hezbollah leader Hassan Nasrallah, praised the late Hariri in a letter published on the front page of As-Safir newspaper Wednesday. Nasrallah said Hariri's killing in a massive truck bomb on Feb. 14, 2005, was a loss for the whole country.

Finding the perpetrators has become "a collective national demand," Nasrallah wrote.

The army deployed troops on highways to prevent friction between rival supporters as they approached the city center. Many roads were completely sealed off except for buses on designated routes that were expected to bring in government supporters from outlying areas.

The potential for violence was made vividly clear on Jan. 23 when a strike called by the opposition turned into clashes with government supporters. Two days later, an argument among students on a university campus led to rioting between supporters of the government and opposition. Eight people were killed in the violence.

Hariri and 22 others were killed in a huge explosion that occurred as his motorcade was passing through central Beirut. He was buried a few blocks away from the site. Outrage over the assassination forced Syria to withdraw its troops from Lebanon two months later, ending a 29-year presence.

A U.N. investigation into the assassination is continuing, but Lebanon has been hit by a string of bombings in the past two years that many government supporters blame on Syria. Syria has denied any role in the attacks, including the Hariri assassination.

None of the perpetrators has been caught from the series of bombings, which killed four anti-Syrian figures, wounded two others, and occasionally have struck public areas, killing three people.

Tuesday's bus bombings, however, were the first time that an attack appeared aimed to exact maximum casualties on civilians with no political affiliation.

The blasts fueled tension in the power struggle where the opposition, led by the Syrian- and Iranian-backed Hezbollah, has vowed to bring down Saniora's government. The opposition has demanded an enlargement of its representation in the coalition Cabinet to give it a veto on decision making.

Saniora, who is backed by a slim parliamentary majority and many foreign states such as France and the United States, has rejected the opposition's demands. The parliamentary faction led by Saad Hariri, Rafik's son, and other pro-government groups have accused Hezbollah of doing Syria's bidding.

Complete coverage is available in FOXNews.com's Mideast Center.