CLAYTON -- Firefighters and paramedics were optimistic that a 4-year-old boy will recover fully after a family member helped to rescue him from drowning in a backyard pool on Christmas Day by listening to CPR instructions from a dispatcher.

Dispatchers received calls from the family at the home on Inverness Way at 7:12 p.m. after the boy was found floating and unconscious, Contra Costa Fire District spokesman Kent Kirby said. They pulled him out and took step-by-step CPR instructions from a dispatcher over the phone, he said.

Crews arrived at the home almost immediately. The home is only three miles from Station 11 on Center Street, where the responding crews are based.

The boy regained some level of consciousness by the time crews arrived but still was in an altered state and having a hard time breathing, Kirby said. He was taken in an ambulance to John Muir Medical Center in Walnut Creek.

An update on the boy's condition was not available Thursday.

"Extremely lucky," Kirby said. "It was a close call. But the crews were optimistic."

The station in Clayton was shuttered earlier this year, but Kirby said the district has kept it staffed from 2 to 8 p.m. six days a week, with Sunday the exception.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.