The submarine was not damaged in Saturday's accident and went back to its base on Russia's Pacific coast under its own power, escorted by a rescue vessel, Russian navy spokesman Capt. Igor Dygalo said on Sunday.

The nuclear reactor aboard the submarine was operating normally and radiation levels were normal, he said. State-run Rossiya television said the submarine went to Bolshoi Kamen, a military shipyard and a navy base near Vladivostok. Dygalo said the deaths and injuries were due to the "unsanctioned activation» of the firefighting system in the two sections of the submarine closest to the bow. The nuclear reactor that powers the sub was not threatened, he added.

It was unclear what activated the fire-extinguishing system. The system is designed to release Freon coolant, Russian news agencies quoted an official with Russia's top investigative agency, Sergei Markin, as saying. Markin said in televised remarks that 14 civilians and six sailors were killed, citing preliminary information. He said 22 others were hospitalized after being evacuated to a destroyer that brought them to shore. Earlier, Dygalo said more than 20 people were killed, including sailors and workers from the shipyard that built it, and that 21 were injured and hospitalized. He said the submarine had 208 people aboard, including 81 servicemen. Officials did not reveal the name of the submarine, which Dygalo said was to be commissioned by the navy later this year.

Yet an unnammed official at the Amur Shipbuilding Factory said the submarine was built there and is called the Nerpa, the state-run RIA-Novosti news agency reported. Testing on the submarine began last month and it submerged for the first time last week, the agency said.

Markin said authorities have opened an investigation into violations of rules for operating military vessels, suggesting human error was likely involved. Saturday's accident came as the Kremlin flexes its military muscle and seeks to restore Russia's naval reach, part of a drive to show off the nuclear-armed country's clout amid strained ties with the West. A naval squadron is headed to Venezuela for joint exercises this month in a show of force near U.S. waters. Despite a major boost in military spending during Vladimir Putin's eight years as president, Russia's military is still hampered by decrepit infrastructure, aging weapons and problems with corruption and incompetence.

Construction of the Nerpa, an Akula II class attack submarine, started in 1991 but was suspended for years because of a shortage of funding, RIA-Novosti reported.

First Deputy Defense Minister Alexander Kolmakov and navy chief Adm. Vladimir Vysotsky were heading for the Pacific Coast in the wake of the accident, Dygalo said. The Kremlin said President Dmitry Medvedev was told about the accident immediately and ordered a thorough investigation.

Putin, now prime minister, was criticized for his slow response to the Kursk disaster, which marred the first of his eight years as president. In 2003, 11 people also died when a Russian submarine that was being taken out of service sank in the Barents Sea.

Worst nuclear submarine accidents

The following is a chronology of major accidents involving nuclear submarines since 1968:

May-June 1968: US Navy submarine Scorpion sinks with 99 men aboard east of Norfolk, Virginia.

March 4, 1970: French submarine, the Eurydice, sinks with 57 crew off St. Tropez in the Mediterranean Sea.

April 12, 1970: A Soviet November class nuclear-powered attack submarine sinks with 88 crew members in the Atlantic Ocean off Spain.

Aug. 10, 1985: An explosion on a Russian submarine at Chazma Bay, on the Pacific coast near Vladivostok, sends the lid of the reactor flying hundreds of metres with no trace of the 10 people working in the reactor.

April 7, 1989: A Soviet Mike class attack submarine sinks off northern Norway with the loss of 42 lives after a fire.

Aug. 12, 2000: The Russian Oscar-II class submarine Kursk with 118 crew members sinks to the bottom of the Barents Sea after possibly a collision and two explosions on board.

Feb. 9, 2001: The Greenville, a 360-foot U.S. Navy submarine based at Pearl Harbor, sinks a Japanese trawler after colliding with it, killing nine civilians aboard the fishing boat.

Jan 2005: One crewman dies after the U.S. nuclear submarine San Francisco runs aground off Guam in the Pacific Ocean. Another 23 crewmen were injured.

Sept. 6, 2006: Fire on board the Viktor-3 class Russian navy submarine St Daniel of Moscow, moored near the Finnish border, kills two crew members.

March 21, 2007: Two British soldiers are killed and another injured on the Tireless nuclear submarine during an exercise in the Arctic.

Nov. 8, 2008: More than 20 people killed