JERUSALEM — A Palestinian resident of East Jerusalem rammed a car into a crowd of Israelis at a Jerusalem bus stop on Monday, according to the Israeli police, injuring about a dozen of them, including an 18-month-old baby.

A civilian, a private security guard and a member of Israel’s security forces all shot at the driver before he exited the vehicle, killing him, a police spokeswoman said.

The chief of the Jerusalem district police said through the spokeswoman that this “quick and accurate action” had “prevented a larger attack.”

The spokeswoman identified the driver as Abed el-Muhsen Hassuna, a 21-year-old from the Beit Hanina neighborhood, and said an ax was found in his car, a white Mazda sedan.