An assisted living facility in Rockville was evacuated Tuesday afternoon after a water pipe broke in its electrical room, according to a spokeswoman for the Montgomery County Fire and Rescue Service.

Beth Anne Nesselt said the pipe burst in the ceiling of the room at Raphael House, at 1515 Dunster Road, setting off an automatic fire alarm shortly before 2:15 p.m.

Twenty-eight residents and nine staff members were transported to the recreation center at a nearby church as called for by Raphael House’s emergency planning, Nesselt said. It was unknown as of 4:15 p.m. when the residents and staff members would be able to return to the assisted living facility.

Building and electric service officials were on the scene looking into the incident, Nesselt said.