An 8-year-old Salt Lake boy died Monday night after he apparently accidentally hanged himself, police said.

Joel Wilson was at his home with his family at 1620 E. Browning Ave. when the accident occurred. The boy had apparently tied a rope around a water shutoff valve on the ceiling of his bedroom and had been swinging back and forth on the rope, police said.Officers said he apparently got his head tangled up and accidentally hanged himself. When the boy's 10-year-old sister went into his room about 8:30 p.m., she found him unconscious, said Salt Lake Police Lt. Roy Wasden.

The boy was taken to Primary Children's Hospital, where he died, Wasden said.