MORENO VALLEY (CBSLA.com) — A 2-year-old boy was recovering Tuesday after nearly drowning in a swimming pool in Riverside County.

Just before 5 p.m. on Monday, firefighters were sent to an apartment complex located in the 23700 block of Hemlock Avenue.

READ MORE: Massive Warehouse Fire Likely Caused Foul Odor In Carson, Authorities Say

According to the Riverside County Fire Department, a bystander pulled the toddler from a swimming pool and administered CPR on the young boy.

READ MORE: 50 Arrested In LAPD Investigation Into Drug Dealers Preying On Skid Row Residents

By the time crews arrived to the scene, the child was alert and breathing.

Paramedics transported the toddler to a hospital in stable condition.

MORE NEWS: 'Gentle And Generous Soul': Bruno, LA Zoo's 42-Year-Old Orangutan, Dies Suddenly

(©2015 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)