D.C. Fire and EMS rescued a two-year-old child who was trapped inside of a safe at this store on Pennsylvania Ave SE Wednesday. (Clarence Williams/The Washington Post)

A two-year child got into a safe in a phone store in Southeast Washington on Wednesday and the door shut and the child was inside it for several minutes before fire department rescuers got the child out, D.C. Fire and EMS spokesman Vito Maggiolo said.

The 2-year-old was conscious and alert after getting out, and the child was taken to a hospital for observation. The store is along Pennsylvania Avenue just off the Anacostia Freeway.

Fire and rescue workers “got the call at 6:03 p.m,” Maggiolo said. “What we found was a 2-year-old child accidentally locked in a safe that’s five feet high.’’

Maggiolo said rescuers used a specialized rescue saw to cut hinges on the safe, and then were able to pry it open, getting the child out of the safe. Maggiolo said the child was in the safe for 15 minutes.

“We’re lucky that we were able to get him out before any real harm came to him,” Maggiolo said.