The gunman legally purchased the semi-automatic assault rifle this month in Nevada, where his last address is listed. He would have been barred from buying it in California, which restricts firearms purchases to people over 21. In Nevada, the age limit is 18.