A Southern California high school student killed two classmates and wounded three on Thursday, pulling a .45 caliber semiautomatic handgun from his backpack and emptying it in a matter of seconds as the school day began.

He saved the last bullet for himself. It was his 16th birthday.

The teenaged gunman, whose name was not provided by police, survived the self-inflicted gunshot wound to the head but was in grave condition in hospital, law enforcement officials said.