Editor's Note: This story originally published the name of the 9-year-old girl who was electrocuted Sunday while swimming. ABC10 has removed the child's name from the story based on the family's request.

UPDATE: 5 a.m.

The 9-year-old girl who was electrocuted Sunday while swimming in a Citrus Heights pool was identified by the Sacramento County Coroner. 

According to Citrus Heights Police officials, the young girl was swimming with a friend when she touched a hot wire on a recessed light in the pool that was being fixed.

The young girl was taken to the hospital where she was later pronounced dead. The friends was not injured.

ORIGINAL: 

A 9-year-old girl died from apparent electrocution while swimming in a pool at a home in Citrus Heights on Sunday, police said.

Emergency crews with Sacramento Metropolitan Fire Department were called out Sunday afternoon on a report of an electrocution or drowning at a home near Interstate 80 and Antelope Road, according to Citrus Heights police.

READ ALSO: 2 teens electrocuted trying to rescue dog from Dixon canal

First responders tried to revive the girl at the home before she was taken to the hospital, where she was pronounced dead.

Police officers conducting a follow-up investigation believe construction work on a canned recess light in the pool is what caused the accident. According to investigators, the girl was swimming when she contacted a hot wire on the light.

Investigators said the girl was swimming with a friend at the time of the accident. That friend was not injured.

WATCH ALSO: Citrus Heights police release video of red light crashes