ALGIERS, Algeria (AP) -- Islamist militants attacked and occupied a natural gas field partly operated by BP in southern Algeria early Wednesday, killing two people and holding foreigners hostage while surrounded by Algerian forces.
A militant group claimed responsibility for the attack, saying it was in revenge for Algeria's support of France's operation against al-Qaida-linked Malian rebels groups far to the southeast. It said it was holding dozens of foreigners hostage.
In a statement BP said the site was ``attacked and occupied by a group of unidentified armed people,'' and some of its personnel are believed to be ``held by the occupiers.''
The number and identities of the hostages was still unclear, but Ireland announced that a 36-year-old married Irish man was among them, while Japan and Britain said their citizens were involved as well. A Norwegian woman said her husband called her saying he had been taken hostage.
In addition to the two foreigners killed- one of them a Briton- six were wounded in the attack, including two foreigners, two police officers and two security agents, Algeria's state news agency reported.
Algerian forces surrounded the kidnappers and were negotiating for the release of the hostages, an Algerian security official based in the region said, adding that the militants had come from Mali. He spoke on condition of anonymity because he was not authorized to speak to the press.
A group called the Katibat Moulathamine, or the Masked Brigade, called a Mauritanian news outlet to say one of its affiliates had carried out the operation on the Ain Amenas gas field, taking 41 hostages from nine or 10 different nationalities.
The group's claim could not be independently substantiated and there would be fewer than 20 foreign staff members on site on a typical day, along with hundreds of Algerian employees.
The caller to the Nouakchott Information Agency, which often carries announcements from extremist groups, did not give any further details, except to say that the kidnapping was carried out by ``Those Who Signed in Blood,'' a group created to attack the countries participating in the offensive against Islamist groups in Mali.
He said the operation was to punish Algeria for allowing French jets attacking rebel groups in Mali to use its airspace.
French President Francois Hollande launched the surprise operation in its former West African colony on Friday, with hopes of stopping al-Qaida-linked and other Islamist extremists he believes pose a danger to the world.
Wednesday's attack began with the ambush of a bus carrying employees from the gas plant to the nearby airport but the attackers were driven off, according to the Algerian government, which said three vehicles of heavily armed men were involved.
``After their failed attempt, the terrorist group headed to the complex's living quarters and took a number of workers with foreign nationalities hostage,'' said the statement.
Attacks on oil-rich Algeria's hydrocarbon facilities are very rare, despite decades of fighting an Islamist insurgency, mostly in the north of the country.
In the last several years, however, al-Qaida's influence in the poorly patrolled desert wastes of southern Algeria and northern Mali and Niger has grown and it operates smuggling and kidnapping networks throughout the area. Militant groups that seized control of northern Mali already hold seven French hostages as well as four Algerian diplomats.
The natural gas field where the attack occurred, however, is more than 1,0 kilometers (600 miles) from the Mali border, though it is just 60 miles (100 kilometers) from Libya's deserts.
The British Foreign Office confirmed that ``British nationals are caught up in the incident,'' while the U.S. embassy in Algiers said in a statement it wasn't ``aware of any U.S. citizen casualties.''
BP, together with Norwegian company Statoil and the Algerian state oil company, Sonatrach, operate the gas field. A Japanese company, JGC Corp, provides services for the facility as well.
Japanese Chief Cabinet Secretary Yoshihide Suga said the kidnapped foreigners possibly include Japanese employees of JGC.
``We are certain that JGC is the one affected,'' Suga said, adding that the government is now negotiating with local officials through diplomatic channels, asking to protect the lives of the Japanese nationals.
Statoil said that it has 20 employees in the facility. The Norwegian Foreign Ministry said it could not confirm that any Norwegian citizens had been abducted. The Norwegian Newspaper Bergens Tidende, however, said a 55-year-old Norwegian working on the site called his wife to say he had been abducted.
Algeria had long warned against military intervention against the rebels in northern Mali, fearing the violence could spill over its own long and porous border. Though its position softened slightly after Hollande visited Algiers in December, Algerian authorities remain skeptical about the operation and worried about its consequences on the region.
Algeria is Africa's biggest country, and has been an ally of the U.S. and France in fighting terrorism for years. But its relationship with France has been fraught with lingering resentment over colonialism and the bloody war for independence that left Algeria a free country 50 years ago.
Algeria's strong security forces have struggled for years against Islamist extremists, and have in recent years managed to nearly snuff out violence by al-Qaida in the Islamic Maghreb around its home base in northern Algeria. In the meantime, AQIM moved its focus southward.
AQIM has made tens of millions of dollars off kidnapping in the region, abducting Algerian businessmen or political figures, and sometimes foreigners, for ransom.