A 2-year-old boy was taken to the hospital after he nearly drowned in Gilbert, firefighters said.

It happened around 5 p.m. on Tuesday near McQueen and Warner roads.

Firefighters said the boy was pulled from the pool and a family member then performed CPR on him.

Fire crews arrived and they took him to the hospital. He was breathing on his own, officials said.

It's unclear what led up to him being found in the water.

Aerial video shows there was a fence around the pool.

Click/tap here to download the free azfamily mobile app.

Copyright 2018 KPHO/KTVK (KPHO Broadcasting Corporation). All rights reserved.