Authorities in Mexico say seven people have been killed during a shootout in the Ciudad Juarez border area near the United States.

Investigators say five of the victims killed Friday were federal police officers and one was municipal.  The seventh person was a civilian.

Authorities say the shooting happened during an ambush of two police vehicles.  

Earlier this month, Mexican federal police were deployed to the Juarez area to take over from soldiers who have failed to stem drug trafficking in the country's most violent city.

Authorities said some 5,000 federal police officers will control security in Juarez, which is located across the border from El Paso, Texas.

Despite thousands of soldiers patrolling the city the past two years, violent deaths have continued almost daily, with Juarez on the front lines of the bloodshed.

Thousands of people have died in drug-related violence in Mexico since President Felipe Calderon took office in 2006 and began the crackdown.

Last month, three people linked to the U.S. consulate in Juarez were shot dead.  Two of the dead were Americans.

Some information for this report provided by AP and AFP.