Thousands of mourners and dignitaries have filed past the white-lined coffin of murdered Kremlin critic Boris Nemtsov, many offering flowers as they paid their last respects to one of the most prominent figures of Russia's beleaguered opposition.

So many came that when the viewing ended after its scheduled four hours, a line of people hundreds of yards long still waited outside the Sakharov Centre, named after the Soviet-era dissident and Nobel Peace Prize laureate Andrei Sakharov.

Mr Nemtsov was shot dead late on Friday while walking on a bridge near the Kremlin in Moscow with a companion. No suspects have been arrested.

The killing has deeply shaken Russia's small and marginalised opposition movement. Many opposition supporters suspect the killing was ordered by the Kremlin in retaliation for Mr Nemtsov's ardent criticism of President Vladimir Putin. Authorities have suggested several possible motives, including a provocation aimed at tarnishing Mr Putin's image.

Those who filed by ranged from committed opposition activists to ordinary citizens young and old.

Alexei Navalny, Russia's leading opposition figure, is serving a short jail term for unauthorised leaflet distribution and was not allowed to attend. Some European officials from Poland and Latvia were not allowed to enter Russia for the ceremony, sparking a row.

Mr Nemtsov, 55, had been a deputy prime minister under former president Boris Yeltsin and was widely seen as a rising young reformer. However, in the Putin era Mr Nemtsov's party lost its seats in parliament.

Although his influence in mainstream politics vanished, Mr Nemtsov remained visible as one of Mr Putin's most vehement critics. In a radio interview a few hours before his death, he denounced Mr Putin for his "mad, aggressive" policies in the Ukraine crisis.

After the viewing, his body was buried at a cemetery on Moscow's western edge, as relatives and about 100 bystanders looked on.

Among those attending the viewing were US ambassador John Tefft and former prime minister Mikhail Kasyanov, who has gone over to the opposition. Russian deputy prime ministers Sergei Prikhodko and Arkady Dvorkovich and former President Boris Yeltsin's widow Naina also came, along with tycoon and New Jersey Nets owner Mikhail Prokhorov, who ran against Mr Putin in the 2012 presidential race, and former UK Prime Minister John Major who said it was his saddest ever visit to Moscow.

"They probably know that if they don't come, then at some point people will be coming for them," Irina Khakamada, co-leader of a liberal party in parliament with Mr Nemtsov, said of the Russian officials' presence.

Veteran human rights activist Lev Ponomarev, echoing the view of many opposition figures, said the strong nationalism and intolerance of dissent that has risen up under Mr Putin and is on display on Russian state-controlled television has coarsened society and encouraged violence.

"In this atmosphere of violence and hate, these killings will only continue," he said.

Russian officials have promised a thorough investigation of the killing, but scepticism remains strong.

The Ukrainian woman who was walking with Mr Nemtsov when he was shot, Anna Duritskaya, has returned to her homeland after several days of questioning, said Vladimir Markin, a spokesman for Russia's Investigative Committee.

Russian media have made much of Ms Duritskaya's presence, noting she was three decades younger than Mr Nemtsov and reportedly an aspiring model.

Many commentators said that, like other key opposition leaders, Mr Nemtsov was constantly being shadowed by police, so it is hard to imagine that his killing could go unnoticed by them. Some noted that Mr Nemtsov died on the newly established holiday commemorating the special operations forces, honouring troops who swept through Ukraine's Crimean Peninsula, setting the stage for its annexation by Russia a year ago.

Mr Nemtsov's killing was the biggest political assassination in Russia since 2006, when another Kremlin foe, journalist Anna Politkovskaya, was shot dead in the lift of her Moscow apartment building on Mr Putin's birthday. Five Chechens were convicted in the case last year, but it has remained unclear who ordered the killing.

Some observers speculated that certain members of a hawkish, isolationist wing of the government could have had a hand in Mr Nemtsov's death, possibly hoping to provoke outrage abroad and further strain Russia's ties with the West.

Those relations are already at their lowest point since the Cold War because of the fighting in eastern Ukraine. The government in Kiev blames Russia for supporting and arming the separatists. Russia denies the charge but Nato says it has satellite photos of Russian military equipment in eastern Uk