Two dead after shooting at German Mercedes plant
STORY: The suspect, 53, opened fire on the victims before security workers at the site in the southern German city of Sindelfingen held him down and handed him over to police, police and the local prosecutor's office said in a statement.
The suspect did not resist arrest, they said, and the victims, both aged 44, died of their injuries.
The incident was the latest of a number of mass shootings in Germany in recent years, many of which had a connection with extremism. Investigators have yet to establish a motive for Thursday's shooting.
The German government had vowed to tighten its gun laws further after a gunman opened fire on people gathered in a Jehovah's Witnesses hall in Hamburg in March, killing six.