WASHINGTON (AP) — A US official on Friday said an elite Marine rapid response team was headed to Sudan in the wake of violence and protests against the embassy in Khartoum.

The deployment comes as Sudanese police opened fire on protesters trying to climb the walls of the US Embassy.

The Marine unit, known as a fleet antiterrorism security team, was sent in response to Friday’s violence and as a precautionary measure, as waves of attacks roiled the Muslim world over a film critical of Islam.

The official spoke on condition of anonymity because the deployment was not made public.

Similar teams were dispatched to Libya Wednesday after the fatal attack that killed the US ambassador and three other Americans there, and to Yemen on Friday in response to violence in Sanaa.

Copyright 2012 The Associated Press.