At least 27 people have been killed in an attack on hotels on the Tunisian coast.
Two gunmen opened fire at a beach in the resort of Sousse.
One of the gunmen was killed and police are pursuing the other, said ministry spokesman Mohammed Ali Aroui.
A Dublin woman on holiday in Sousse
Sousse, about 90 miles from Tunis, is a popular resort for Tunisians and Europeans.
Mr Aroui described the victims as mostly tourists, and local radio said those killed were mostly German and British.
Spanish prime minister Mariano Rajoy confirmed that one of the two hotels is owned by a Spanish company.
Mr Rajoy said from Brussels that attacks in Tunisia and France were both acts of terror but did not provide more details.
Tunisian officials identified the hotel Mr Rajoy referred to as the Hotel Riu Imperial Marhaba in the Port El Kantaoui neighbourhood of Sousse. It is owned by Spain's RIU Hotels & Resorts, which has more than 100 hotels in 19 countries.
The company's media office said RIU's board of directors was holding an emergency meeting following the attack.
The other hotel involved is believed to be the Soviva.
Tunisia has been battered by attacks by militants, most recently in March when two Tunisians returning from Libya killed 22 people at the national museum.