Phyllis Dorothy James White, who became Baroness James of Holland Park in 1991 but was better known as "the Queen of Crime" for the multilayered mystery novels she wrote as P.D. James, died at her home in Oxford, England, on Thursday. She was 94.

James' death was announced by her publisher in Britain, Faber & Faber.

James was one of those rare authors whose work stood up to the inevitable and usually invidious comparisons with classic authors of the detective genre, like Agatha Christie, Dorothy L. Sayers and Margery Allingham. A consummate stylist, she accumulated numerous awards for the 13 crime novels produced during her 33-year writing career. Seven of her mysteries were adapted for the public television program "Mystery!" and were broadcast in Britain and the United States.

James bristled at the frequent comparisons to genre authors who wrote during the golden age of the English mystery novel in the 1930s.

"That kind of crime writing was dull," she once said. "One simply cannot take these as realistic books about murder, about the horror of murder, the tragedy of murder, the harm that murder does."

Indeed, many of her peers and critics have said that by virtue of her complex plots, the psychological density of her characters and the moral context in which she viewed criminal violence, James surpassed her classic models and elevated the literary status of the modern detective novel. She is often cited, in particular, for the cerebral depth and emotional sensibilities of Adam Dalgliesh, the introspective Scotland Yard detective and published poet who functions as the hero of virtually all of her novels.

'Complex and sensitive'

Her intention with Dalgliesh, she told the British critic and writer Julian Symons in 1986, was to create a detective "quite unlike the Lord Peter Wimsey kind of gentlemanly amateur" popularized by Sayers. James envisioned a realistic cop as her protagonist, a dedicated and skilled professional — and yet "something more than just a policeman, you see, a complex and sensitive human being."

Her readers found this brooding, morally conflicted character profoundly romantic. "I could never fall in love with a man who was handsome but stupid," James said. Still, Commander Dalgliesh (pronounced Dawlgleesh) remained a self-contained, even aloof figure. "There's a splinter of ice in his character," his creator said.

In "An Unsuitable Job for a Woman" (1972), she introduced Cordelia Gray, a young private investigator whose professional competence and independent spirit put her in the vanguard of an emerging generation of female sleuths. James' forthright portrayal of a strong, free and highly intelligent young woman delighted her readers. But it was Commander Dalgliesh who won their hearts — and the author's.

"Perhaps Adam Dalgliesh is an idealized version of what I'd have liked to be if I had been born a man," she once said.

'Life is sacred'

Phyllis Dorothy James was born on Aug. 3, 1920, in Oxford, the eldest of three children of Dorothy and Sidney James, a civil servant who did not believe in inflicting too much education on his daughter. The family settled in Cambridge when she was 11, and before she left the Cambridge High School for Girls at the age of 16, she already knew that she wanted to be a writer and that mysterious death intrigued her.

"When I first heard that Humpty Dumpty fell off the wall," she was fond of saying, "I immediately wondered: Did he fall — or was he pushed?" But an early marriage to Ernest C.B. White, a medical student, and the outbreak of World War II halted her plans for a writing career.

James gave birth to the first of her two daughters in 1942, during a bombing blitz. She served as a Red Cross nurse during the war, but her husband returned from military service with a severe mental disability, marked by bouts of violence, that kept him virtually confined to hospitals. To support her family, James went to work for the National Health Service and attended night classes in hospital administration.

It took her three years to write her first mystery novel, "Cover Her Face," by working in the early morning hours before going off to her hospital job. She was 42 when it was published in Britain in 1962.

Later in her career, she took an innovative turn toward science fiction with "The Children of Men" (1992), which was made into a film in 2006 starring Julianne Moore and Clive Owen.

Her last novel, "Death Comes to Pemberley" (2011), is a sequel and homage to Jane Austen's "Pride and Prejudice." It was adapted for a TV miniseries in Britain in 2013.

In a 1980 interview, she explained her affection for detective fiction in charged moral tones, noting, "They're based on the fundamental belief that life is sacred and murder is unique and uncommon. … In a sense, detective novels are like 20th-century morality plays: The values are basic and unambiguous."

The Washington Post contributed to this report.