The estranged wife of a Walnut Creek man who was arrested Thursday on suspicion of setting his wife’s Pleasant Hill house on fire and fatally stabbing a 42-year-old man described him in court documents as “irrationally jealous” and said he had threatened to kill her.Robert Hoselton, 39, had been convicted May 26 of misdemeanor battery on a spouse and sentenced to 50 days in jail, but the jail term was suspended and he was released, according to court records.A restraining order to stay away from his wife, however, was still in effect Thursday afternoon when he allegedly went to the home at 1600 Mary Drive where his wife and their two young children lived and set it on fire, Pleasant Hill police said.When police arrived at 4:35 p.m., they found the garage fully engulfed in flames and were told that that Hoselton was still inside.Police later found Hoselton in the backyard suffering from self-inflicted injuries, police said.He was arrested for arson and violating his restraining order and then taken to a local hospital for treatment.While Hoselton was in the hospital, police received a second call from a woman at about 7:40 p.m. who said she had gone over to a house at 2931 Dorothy Drive in Pleasant Hill and found what appeared to be blood on the front porch, police said. Inside, police found the body of 42-year-old Manuel Gwin Jr., who had been stabbed multiple times, police said.Police allegedly found evidence that connected Hoselton to Gwin’s killing and arrested him at the hospital on suspicion of murder, police said.Hoselton’s restraining order stemmed from an April 26 incident in which Hoselton held his wife down, choked her and threatened to kill her during an argument, court documents said. After being assaulted, Hoselton’s wife ran away and called police. Hoselton fled before police arrived, but went to the police station later and confessed to the allegations, a police report said. “I just lost control,” he allegedly told investigators. About six weeks earlier, Hoselton allegedly screamed at his wife at a sauna in Pleasant Hill, threw soapy water in her eyes and spat in her face, according to court documents.About six months before that, Hoselton allegedly grabbed his wife, pulled her through the house and pinned her down. Later, the couple started arguing outside. When his wife took his glasses off his face, he grabbed her and shoved her head into the mud and twisted her arm behind her back, Hoselton’s wife wrote.That same day, Hoselton allegedly took his wife’s phone, listened to her voice mail and interrogated her about the messages she had received from a male friend. She said he was convinced that she was having an affair and kept her phone for four days.She described her husband as “very controlling” and said he didn’t want her to leave the house by herself. He allegedly would call her repeatedly whenever she went anywhere to ask her what she was doing and who she was with.On one occasion, Hoselton allegedly tried to keep his wife from leaving the house. When she got in her car, he reached in and grabbed the key, breaking it off in the ignition, according to court records.One day while she was cleaning, Hoselton’s wife allegedly found a recording device inside the house. When she confronted her husband about it, he admitted that he set up the device because he wanted to monitor the conversations she had with a male friend, court records said.The couple met in 1995 and dated for about a year. They started dating again in 2003 and had their first child in 2005. They got married in 2006 and had their second child in 2007, according to court documents.Gwin is the city’s first homicide victim since November 2007, police said.