An Afghan soldier detained for killing a NATO soldier escaped from his cell and walked off a military base with the help of a guard who also absconded, officials said Monday. The pair even hitched a lift to the main gate of the base aboard a military truck, one local official told AFP. The escape will raise new questions about the capacity and professionalism of the Afghan army as the remaining 100,000 foreign troops in the country prepare to leave next year. The soldier was arrested last Tuesday after opening fire on foreign troops. The NATO soldier, from Slovakia, died and six other soldiers were wounded during the attack at a military base in the southern province of Kandahar. Officials said the Afghan fled his prison cell on Sunday. \"An Afghan army soldier who opened fire on Slovakian soldiers last week has run away from detention,\" General Abdul Hameed, the top Afghan army commander in the south, told AFP. The general said another soldier, who had guarded his prison cell, assisted his breakout and also absconded. The pair managed to sneak off the base by pretending that the detainee was sick and needed to be taken to a military hospital, the general told AFP. The US-led International Security Assistance Force said it had \"full confidence\" that the soldier would be re-arrested. \"We have full confidence in our Afghan partners, that they will do an investigation, they will be able to bring this individual back to custody,\" said ISAF spokesman Brigadier General Heinz Feldmann. General Zahir Azimi, spokesman for the Afghan defence ministry, said an investigation had been launched. The Taliban said the shooter, whom they named as Isanullah, had links to them and was helped by a fellow soldier to escape. \"To avoid trouble for him we didn\'t reveal at the time that he had links with the Taliban... now as he has escaped and safely joined the mujahedin he was welcomed by the mujahedin,\" the militants said in a statement. A local official said the guard -- a fellow soldier -- and the shooter walked out of the prison and hitched a lift on the base from a military truck, asking to be dropped off at the gate. \"The driver agreed without realising their identity. They simply walked off the base and disappeared,\" he said on condition of anonymity because he was not authorised to speak to the media. Songs supporting the Taliban\'s armed struggle and suicide bombings had been found on his mobile phone during investigations, the official said. \"It appears that he was impressed by the Taliban, if he did not have a full link (to the insurgents),\" he told AFP. In 2012 around 60 NATO troops were killed in insider attacks in Afghanistan, breeding fierce mistrust and threatening to derail efforts to replace NATO combat troops with local forces next year. The Taliban often claim that Afghan soldiers who kill their NATO allies are linked to the militant group.