BERLIN >> German authorities said Sunday that they have arrested a Libyan national with suspected ties to the extremist Islamic State group who was allegedly planning a firearms attack on the Israeli Embassy.

Police and other security forces detained the man on Saturday evening in Bernau, a town just outside of Berlin, and searched his home there, the Federal Prosecutor’s Office said in a statement.

The prosecutor’s office said the suspect was a Libyan national whom they identified only as Omar A.

“He intended to carry out a high-profile attack with firearms on the Israeli Embassy in Berlin,” the statement said. In his planning, the statement added, “the accused exchanged information with a member of IS in a messenger chat.”

— The Associated Press