Updated

The days before he was arrested for allegedly beating his ex-girlfriend to death and kidnapping their daughter brought a string of bad news to James "Rafe" Mitchell, the son of late San Francisco pornography mogul Jim Mitchell.

Last Tuesday, he was ordered to attend a yearlong rehabilitation program for domestic batterers. On Friday, his girlfriend's lawyer wrote to let him know that a judge had permanently granted Danielle Keller's request for sole custody of their child and a restraining order prohibiting him from contacting her.

"I think that was the trigger. He would have got the e-mail on Saturday," said Charlotte Huggins, Keller's lawyer.

Police in the Marin County city of Novato allege that by weekend's end, the 27-year-old Mitchell's problems only got worse. Keller's body was found on Sunday evening in the yard where she had just held a first birthday party for her daughter.

The toddler, Samantha Rae Mitchell, was missing, prompting a statewide Amber Alert. Just before midnight, Mitchell's car was tracked to a Sacramento suburb where police arrested him on suspicion of murder, stealing a child and violating a restraining order.

The violent allegations saddened, but did not surprise those who knew Mitchell only through the prism of his famous father. Sunday also was the two-year anniversary of the heart attack death of "Behind the Green Door" director Jim Mitchell, one-half of the Mitchell Brothers empire that included X-rated films and theaters.

Jim Mitchell was convicted in 1991 of manslaughter and weapons charges in the shooting death of his brother and business partner, Artie Mitchell, in Marin County. The slaying led to a spectacular trial, and the elder Mitchell served half of a six-year prison sentence.

"By definition, he had an incredibly traumatic family life," veteran newspaper editor David McCumber, who published a book about the Mitchells in 1992, said of the younger Mitchell. "It's hard to say what's related to what. It's just that nobody who comes out of that kind of background comes through intact."

James Mitchell's defense lawyer, former San Francisco District Attorney Terence Hallinan, seemed to agree while addressing reporters outside his client's arraignment hearing Tuesday.

"It's a tragedy — the uncle, the father, now this woman. It's just a tragic family, no question," Hallinan said.

Hallinan said the younger Mitchell "feels terrible about what happened. He's depressed about it. But we'll get through this. ... But hopefully we can work through this and the real facts about what happened can come out."

Huggins said that James Mitchell never held a job because he had inherited money from his father and had a methamphetamine addiction. Keller left him because of his drug problem, but over the years struggled with staying away from Mitchell, Huggins said.

In her request for a restraining order, Keller painted a frightening picture of repeated abuse and horror she endured during her relationship.

"I live in constant fear of James and fear that he will take Samantha. James just bailed out of jail and I am worried about what he might do to us," she wrote.

She wrote that Mitchell first hit her in the mouth in September 2007 and that the abuse escalated from there.

"One time he dragged me naked by my hair across the floor because I would not have sex with him. He dragged me from the bedroom down the hallway and threatened to throw me out the front door of the apartment, naked."

Keller said Mitchell's brother and two sisters have a 5-year restraining order against him for an incident involving threats with a gun.

Court documents state that Mitchell brought his gun in November 2007 to a family meeting at the Mitchell Brothers O'Farrell Theatre in San Francisco, waving the firearm in a threatening manner.

Keller said the gun was used to threaten her that same month.

"James took his gun out as if he was going to shoot me and I saw him pull the trigger as I ran away but discovered there were no bullets when I hear nothing," she wrote in her declaration.

Mitchell first was arrested for domestic violence when Keller was four-months pregnant with their daughter, Huggins said, in February 2008. He was arrested again in March for violating his probation from the previous case.

Keller's mother, Claudia Stevens, showed up for Mitchell's arraignment with a picture of her daughter pinned to her shirt. Stevens said neighbors have told her they saw Mitchell bludgeoning her daughter with a baseball bat Sunday while holding Samantha in his arms.