A brazen militant attack involving a suicide car bombing and claimed by the Islamic State group targeted a hotel in Egypt’s restive northern Sinai region on Tuesday, killing seven people, including two judges, the state MENA news agency said.

The attack on the Swiss Inn hotel in the coastal city of El-Arish was the latest violence convulsing the troubled peninsula, where Egyptian troops are struggling to put down an Islamic insurgency. The attack was quickly claimed by the Islamic State’s affiliate based in Sinai.

The assault came a day after Egypt held the second round of parliamentary elections. Judges who supervised the vote in Sinai were staying in the heavily guarded hotel. […]