Two suspected militants stabbed and wounded two foreign tourists -- a Danish and a German -- at a hotel in the Red Sea resort city of Hurghada on Friday, Egyptian security officials said.

The officials say policemen opened fire at the attackers, killing one and wounding the other. It was not immediately clear how serious the condition of the tourists is.

Egyptian security sources told Reuters that the attackers arrived by sea to carry out the siege. The identities of the attackers are unknown.

The Friday evening attack came just hours after the local affiliate of the Islamic State claimed responsibility for an attack a day earlier on a hotel in Cairo near the Giza Pyramids. No one was hurt in the Thursday incident.

Egypt has been battling an insurgency by Islamic militants led by the Islamic State's affiliate.

The Associated Press contributed to this report.