The government said the two officials were replaced because of an armed attack on the peace jirga, which caused no casualties among the delegates but proved embarrassing to the Karzai administration.Both officials had a long background of opposition to the Taliban.Intelligence chief Amrullah Saleh was a senior figure in the Northern Alliance, which helped the U.S. oust the Taliban regime in 2001.