BERKELEY -- A high school student was robbed and beaten with a handgun Wednesday morning, prompting a 30-minute lockdown of a preschool and an alternative high school here, school and police officials said.

A male high school student who attends Berkeley Technology Academy was robbed of his wallet at the corner of Stuart and Milvia streets, which is just a couple of blocks from the school, police said. The suspect also hit the student with a silver handgun, police said.

The student was taken to Children's Hospital with minor injuries and is going to be "OK," said Berkeley schools spokesman Mark Coplan.

King Child Development Center, which is a public preschool at the corner of Milvia and Derby streets, and Berkeley Technology Academy, an alternative high school at the corner of Derby and Martin Luther King Jr. Way, were locked down while police looked for the suspect, Coplan said.

Police were looking for a suspect, who was described as a black man in his 20s, about 6-feet with scruffy facial hair, wearing bluejeans, a dark-colored hoodie and a knit cap, according to a police broadcast. He last seen by the victim running east on Stuart street.

Doug Oakley covers Berkeley. Contact him at 510-843-1408. Follow him at Twitter.com/douglasoakley.