In 1948, when the Dutch took Yogyakarta, Suharto was forced to go into the woods to fight guerilla warfare. Suharto entrusted his wife's security to Amir and instructed him to evacuate her if necessary. In 1949, Amir took part in the 1 March General Offensives and was placed in charge of the troops attacking the city itself. When the Dutch began to consider retreating, Amir was placed in charge of the handling of prisoners of war. He was also once again appointed a Personnels Officer at the Army headquarters.