(The Blaze/AP) -- Days after a judge ruled against him in a child custody hearing, a father and his two young sons were killed Sunday when police said he intentionally blew up a house with all three inside - a tragic ending to a bizarre case that began more than two years ago when the man's wife went mysteriously missing in Utah.
A social worker brought the two boys to Josh Powell's home for what was to be a supervised visit, and Powell let his sons inside - but then blocked the social worker from entering, Graham Fire and Rescue Chief Gary Franz told The Associated Press.
The social worker called her supervisors to report that she could smell gas, and moments later the home exploded.
Sgt. Ed Troyer, Pierce County sheriff's spokesman, said emails that Powell sent authorities seemed to confirm that Powell planned the deadly blast. Troyer didn't elaborate on the contents of the emails, but said they make police believe "this is intentional, this is planned...this is a double murder-suicide."
Authorities were removing three bodies from the home Sunday evening as fire crews and police continued to search the rubble. Troyer said it appeared some sort of accelerant was used to make the house burn faster.
Jeffrey Bassett, who represented Powell in the custody case, said he received a brief email from his client just minutes before Powell and the two boys died. It said, "I'm sorry, goodbye."
The email arrived at 12:05 p.m. Sunday, about 10 minutes before the explosion, but he didn't see it until two hours later, when others told him Josh and the boys had been killed. He said he knew Josh was upset after being ordered to undergo a psycho-sexual evaluation recently, but he didn't see this coming.
Powell was under investigation in the disappearance of his 28-year-old wife Susan from their West Valley City, Utah, home in December 2009. He claimed he had taken the boys on a midnight excursion in freezing temperatures when she vanished.
The children, 5-year-old Braden and 7-year-old Charles, had been living with Susan Powell's parents since Josh Powell's father, Steven, was arrested on child porn and voyeurism charges last fall. There were no accusations concerning Steven Powell and his grandchildren. Troyer said Steven Powell was put on suicide watch in custody after he was told of the deadly blast.
"Steve Powell didn't seem very upset by the news, but was angry towards authorities who notified him," Troyer said.
On Wednesday, a judge had denied an attempt by Josh Powell to regain custody, saying she wouldn't consider returning the two boys to their father until he underwent a psycho-sexual evaluation. A psychologist recommended the evaluation based on undisclosed materials Utah police discovered on Josh Powell's computer in 2009.
Sherry Hill, a spokeswoman for the state Department of Social and Health Services, said the social worker who was with the children was not a Child Protective Services employee but a contract worker with a private agency that supervises visits for the state.
"The visit supervisor for this particular agency had taken the children to the home. When she does that, she sits through the visit and might take notes on her observations," Hill said. "She pulled up in the car, and the kids ran out ahead of her. He closed the door and locked it. She wasn't able to get in, and that's when she smelled gas."
Lawyer Steve Downing, who represented Susan Powell's parents, Chuck and Judy Cox, in the custody fight, said: "It's the most horrifying thing you can imagine happening ...The Coxes are absolutely devastated. They were always very fearful of him doing something like this, and he did it."
Bassett said he represented Powell free of charge because "every parent deserves the right to an attorney." Powell called or emailed him at least once a day, and often more than that, and in their conversations "he never once admitted doing anything regarding Susan. In fact, he denied it."
Sgt. Mike Powell of the West Valley City Police Department in Utah, which is handling the investigation into Susan Powell's disappearance, said it was too soon to say how Josh Powell's death may impact their probe.
"Quite frankly, this has obviously quickly unfolded up in Washington and we're obviously just working through the details ourselves here," said Powell, who is not related to the family.
Kirk Graves, 39, of West Jordan, Utah, whose wife is Josh Powell's sister, said they were stunned by the news.
"We never contemplated the idea he would do something like this. You just don't expect it from a father," he said. "His world was falling apart around him and he was going to lose his boys and get arrested for Susan's disappearance. He's a narcissist and he has no love for anyone but himself.
The day of the hearing last Wednesday, Josh Powell submitted a six-page affidavit attesting to his love of the boys and his competence as a caregiver and insisting that it was time for the boys to come home.
"For over four months already, my interactions with my sons and many other aspects of my character have been investigated and documented by CPS," he wrote. "I have proven myself as a fit and loving father who provides a stable home even in the face of great adversity. ... It is time for my sons to come home."