Seven people died when an ex-postal worker went on a suicidal shooting rampage at a mail-processing center in California.

Police Tuesday said the shootings took place late Monday near Santa Barbara, sparking a panicked evacuation after employees heard the gunshots. A police spokesman said officers found seven bodies in the building, one with what looked like a self-inflicted gunshot wound.

Another person is in the hospital in critical condition.

Neither the shooter nor the victims' names were released. The victims were all said to be current employees at the mail-sorting facility.

There has been a series of workplace shootings involving postal employees in the past 20 years. The most deadly occurred in 1986, when a disgruntled ex-employee shot 14 people at an Oklahoma post office.

Some information for this report was provided by AP, Bloomberg, and Reuters.