One faction of Boko Haram is allied with the Islamic State group

Receive the latest national-international updates in your inbox

This June 5, 2013, file photo shows Nigerian soldiers patrolling near Maiduguri in the north of Borno state, close to a former camp occupied by the Islamist extremist group Boko Haram.

Nigerian security officials have thwarted plans by Islamic State group-linked Boko Haram members to attack the embassies of the United States and Britain, authorities said Wednesday.

A Department of State Services statement said it broke up a ring that had "perfected plans to attack the UK and American embassies and other Western interests" in Nigeria's capital, Abuja.

The statement said five suspects who had been based in Benue state and the Federal Capital Territory were arrested on March 25 and 26. Another 20-year-old Boko Haram member was arrested March 22 in Yobe state and "confessed his involvement in executing the sinister activities of the group."

The statement gave no further details, and officials with the department could not immediately be reached.

The U.S. and British embassies did not immediately respond to a request for comment. The State Department on April 5 issued an updated travel warning for Nigeria, warning that Boko Haram has targeted government installations and other venues in the past in the Federal Capital Territory and elsewhere.

In 2011, Boko Haram attacked the U.N.'s Nigeria headquarters in Abuja with a car bomb that detonated in the reception area, killing at least 21 people.

Nigeria's president late last year declared the Boko Haram insurgency "crushed," but its fighters continue to threaten the vast region around Lake Chad in defiance of a multinational force. It has increasingly used children, especially girls, as suicide bombers.

Boko Haram's seven-year Islamic uprising has killed more than 20,000 people and driven 2.6 million from their homes, with millions facing starvation.