ST. PETERSBURG, Russia -- A St. Petersburg court on Monday ordered a prominent history professor suspected of murdering and dismembering a female student to be held in custody pending trial.

The case of 63-year-old Oleg Sokolov, who taught at the St. Petersburg State University who became famous for his books about the Napoleonic era, has dominated national newscasts in Russia.

Sokolov confessed to the murder, according to his lawyer, Alexander Pochuev.

Investigators alleged that Sokolov shot and killed 24-year-old Anastasia Eshchenko on Thursday at his apartment and then dismembered her body. He was detained Saturday after being pulled from St. Petersburg's Moika River with a backpack containing two severed arms.

The limbs were identified as those of the student; other body parts were found in the river and in Sokolov's riverside home in the historic part of St. Petersburg, less than one mile from the Hermitage Museum.

Sokolov broke into tears in the courtroom. He said he had a romantic relationship with Eshchenko and gave a rambling account of a quarrel they had, but didn't talk about his action in detail.

Russia's state television carried comments by Eshchenko's brother who said she had called him just before she was killed, crying and saying that she had quarreled with Sokolov who beat her. She told her brother that she had rushed out of his apartment but needed to come back to pick up her things.

The judge rejected Sokolov's appeal to be released under house arrest and ordered him to be held in jail for two months pending trial.

Sokolov has been awarded with France's highest award, the Legion of Honor, for his studies of Napoleonic France.

A fluent French speaker, he has been an enthusiastic member of military reenactment movements since the early 1990s and represented Napoleon in numerous representations of historic battles and other events.

Sokolov was popular among his students for his flamboyant style and fiery way of delivery.

In past interviews to Russian television, he spoke about his passion for the Napoleonic era. Napoleon was his idol and fellow history buffs would address him 'Sire,' the emperor's title.

Russian 47news online news site claimed that Sokolov had told investigators after confessing to murder that he was planning to don a costume of Napoleon and kill himself on the territory of St. Petersburg's iconic Peter and Paul Fortress.

The Russian Military-Historic Society that had listed Sokolov as a leading member quickly purged him from its ranks immediately after his detention was reported. The St. Petersburg university also dismissed him Monday.

Russian President Vladimir Putin, a graduate of the same university, was informed about the killing, his spokesman Dmitry Peskov said. Peskov called the case "a monstrous act of insanity."