Police have shot a parent who held a 70-year-old teacher hostage for hours at his daughter's Southern California elementary school.

Riverside police Officer Ryan Railsback says a SWAT team entered a classroom at Castle View Elementary School shortly before 6 p.m. The suspect's condition was not immediately known.

Railsback says negotiators had been talking to the man but hadn't heard from the teacher and feared for her life.

Family members identified her as 70-year-old Linda Montgomery. Police say the teacher was taken to a hospital but didn't appear to have any serious injuries.

It's still not clear what prompted the man to enter the school and barricade himself with the teacher Tuesday morning and it's not known whether he had a weapon.