Police were seeking to keep the man, in his 30s, in custody for at least four weeks. He's charged with acting violently towards police, and threatening both the police and Solberg, who is the government minister ultimately in charge of immigration issues.

"We consider him dangerous," prosecutor Jannicke Floeystad told wire service NTB. "He has admitted that he was in Oslo and has a photo of Erna Solberg in his wallet."

He's alleged to have made the death threats as early as September 9, but wasn't immediately arrested because he had been admitted to a hospital in Bergen for medical treatment. Police said, however, that they had kept him under surveillance.

He reportedly has a record of psychiatric problems and has been admitted to hospitals in the past.

His defense attorney told VG Nett that the threats were merely "an immediate reaction to poor handling of his asylum application." He said his client characterized the threats as "empty."

His application for work permission was said to have been rejected in April 2002, and he hadn't yet received any answer to his appeal.

Security around Norwegian politicians, known for going without bodyguards, has been heightened since last week's shocking murder of Swedish Foreign Minister Anna Lindh.