SANAA - A German security guard employed by the German embassy in Yemen's capital Sanaa was shot dead on Sunday while attempting to protect German Ambassador Carola Mueller-Holtkemper from an attempted kidnapping, Pan-Arab news channel al-Arabiya reported.Mueller-Holtkemper escaped unharmed.The guard was gunned down in Sanaa's Hadda district, where the embassy is also based, the latest in a series of attacks on foreign and local officials in the US-allied state which is battling one of the most active branches of al-Qaida."He was leaving the market to go to his vehicle," one source said. Embassy employees in Sanaa and the German Foreign Ministry in Berlin declined to comment. Mueller-Holtkemper had only recently arrived in Yemen and presented her credentials to Yemeni authorities less than a week ago, a statement on the embassy's website showed.Yemen-based al-Qaida in the Arabian Peninsula (AQAP) has attempted to attack several large Western targets, including airliners, and is believed to have been behind a series of killings of foreign and local officials in the country since 2011.In November last year gunmen shot dead a Saudi diplomat and his Yemeni bodyguard in Sanaa in an attack believed to be the work of the group. A month earlier, masked gunmen shot dead a Yemeni man who worked in the security office of the US Embassy in Sanaa.Germany was one of several Western countries to close their Yemen embassies in early August after a US warning of a possible major militant attack in the Middle East. The mission reopened after a two-week closure.The US embassy in Yemen was attacked in September 2012 by demonstrators angry at a film they said was blasphemous to Islam. Hundreds of Yemenis broke through the main gate of the heavily fortified compound, smashed windows of security offices outside the embassy and burned cars.On Sunday AQAP said in a statement it was behind an attack on an army base in the southeast of the country last week in protest at the army's cooperation with the United States and vowed to continue its "holy war" against Yemeni forces.Militants took advantage of political chaos in Yemen during the Arab Spring uprising in 2011 to seize control of some towns and surrounding areas in the south of the country. They were beaten back by Yemeni forces with assistance from the United States and dispersed into smaller groups spread across the south of the country.