Story highlights Hamas says the killer was one of its members but does not claim responsibility

The attacker was due to surrender himself for a four-month jail sentence Sunday, his family says

Jerusalem (CNN) Two people were killed and four wounded in a drive-by shooting attack and subsequent shootout in Jerusalem on Sunday, Israeli police said.

The attack began when a gunman opened fire from his vehicle on civilians at a light-rail stop opposite the main police headquarters in Ammunition Hill, Israel Police foreign press spokesman Superintendent Micky Rosenfeld said.

Israeli security forces and policemen gather at the scene of the attack.

Two of the victims, both women, were critically injured. One of them, 60-year-old Levana Melihi of Jerusalem, later died at Mount Scopus Hospital.

The attacker fled in the direction of the eastern Jerusalem neighborhood of Sheikh Jarrah, with police giving chase on motorcycles, police spokeswoman Luba Samri said.

When the attacker saw the officers in pursuit, he opened fire in their direction and police shot back, she said.

Read More