Hamas has taken responsibility for the fatal shooting and stabbing attack in Tel Aviv that unfolded on Tuesday just as Iran was launching a ballistic missile barrage on Israel.

Seven people were killed in the attack, and 16 people were injured, the Israel Police Spokesperson’s Unit and Shin Bet said in a joint statement Wednesday. The two alleged attackers were also killed, police said.

In a statement Wednesday, Hamas’ military wing claimed responsibility for the attack.