Five people were shot and killed by a gunman on a motorcycle in the Tel Aviv suburb of Bnei Brak on Tuesday, Israeli officials said. 

The suspected gunman, a 27-year-old Arab man from the West Bank, was living in Israel illegally and spent six months in prison in 2013 for having ties to a terrorist organization, TPS reports. He was shot and killed by police at the scene. 

Video of the attack shows the shooter walking across a street in a black shirt while firing a rifle at cyclist and then a motorist. 

Tuesday's shooting is the latest in a string of recent terrorist attacks in Israel, including a shooting in Hadera two days ago that left two police officers dead and a stabbing last week in Beersheba that left four people dead. 

Israeli Prime Minister Naftali Bennett said on Tuesday evening that the country is "facing a wave of murderous Arab terrorism."

"My heart goes out to the families who lost their loved ones tonight, and I pray for the well-being of the wounded. The security forces are working. We will fight terror with perseverance, stubbornness and an iron fist," Naftali tweeted. "They will not move us from here."

SHOOTING IN ISRAEL KILLS TWO POLICE OFFICERS AMID HISTORIC U.S.-MIDEAST SUMMIT

The Islamic State claimed responsibility for both Sunday's shooting and last week's stabbing attack. 

Secretary of State Antony Blinken, who just attended a summit with foreign ministers from Israel and four Gulf Arab states, condemned the attacks on Tuesday. 

"This violence is unacceptable. Israelis—like all people around the world—should be able to live in peace and without fear," Blinken said in a statement. "Our hearts go out to the families of those killed in the attacks."

On Monday, Israeli security services raided several homes and arrested two people suspected of having ties to the Islamic State. 

CLICK HERE TO GET THE FOX NEWS APP

The attacks come ahead of Ramadan, which begins later this week. Israel and Hamas fought an 11-day war during the holy month last year after clashes between Israeli police and Muslim protesters. 

Tuesday's mass shooting also comes after a high-profile summit between the foreign ministers of Israel, the United States, the United Arab Emirates, Bahrain, Morocco and Egypt. 

The Israeli military said Tuesday that it will deploy additional troops to the West Bank.  

Fox News's Ben Evansky contributed to this report, as well as the Associated Press.