Thompson Middle School in Murrieta was briefly placed on lockdown Friday morning when a staff member experienced a medical emergency, a district official said.
Several emergency personnel, including Murrieta police and fire, responded to the campus after 9:30 a.m.
To avoid having students out on campus while paramedics were there, a lockdown was put into place at approximately 9:35 a.m, according to a notice posted on the school's website.
The patient was transported to a local hospital, said Karen Parris, spokesperson for the Murrieta Valley Unified School District.
The lockdown lasted for 20 minutes and was lifted at 9:55 a.m.
"Students were not in danger and are safe and sound," Parris said.