Frustrated at negotiations with the Republic and believing it weakened by both the Darul Islam and Madiun insurgencies, the Dutch launched a military offensive on 19 December 1948 which it termed 'Operatie Kraai'. By the following day it had conquered the city ofYogyakarta, the location of the temporary Republican capital. By the end of December, all major Republican held cities in Java and Sumatra were in Dutch hands. The Republican President, Vice-President, and all but six Republic of Indonesia ministers were captured by Dutch troops and exiled on Bangka Island off the east coast of Sumatra. In areas surrounding Yogyakarta and Surakarta, Republican forces refused to surrender and continued to wage a guerrilla war under the leadership of Republican military chief of staff General Sudirman who had escaped the Dutch offensives. An emergency Republican government, the Pemerintahan Darurat Republik Indonesia, was established in West Sumatra.
The offensive
In early 1949, Hamengkubuwono IX conceived the idea of a major offensive to be launched against Yogyakarta and the Dutch troops occupying it. The purpose of this offensive was to show to the world that Indonesia still existed and that it was not ready to surrender. The idea was suggested to General Sudirman, the Commander of the Indonesian Army and received his approval. In February 1949, Hamengkubuwono IX had a meeting with then Lieutenant Colonel Suharto, the man chosen by Sudirman to be the field commander for the offensive. After this discussion, preparations were made for the offensive. This involved intensified guerilla attacks in villages and towns around Yogyakarta so as to make the Dutch station more troops outside of Yogyakarta and thin the numbers in the city itself. On 1 March 1949 at 6 AM, Suharto and his troops launched the 1 March General Offensive. The offensive caught the Dutch by surprise. For his part, Hamengkubuwono IX allowed his palace to be used as a hide out for the troops. For six hours, Indonesian troops maintained control of Yogyakarta before finally retreating. The offensive failed in its attempt to show the world that the Indonesian army still existed. Not much attention was paid to it by the United Nations. The United Nations :wikt:observer|observers mentioned Dutch had successfully repelled the attacks.
In later years, after Suharto became second president of Indonesia, The offensive, later known in Indonesia as Serangan Oemoem, raised myth of Suharto as national hero by retaking the city from the Dutch for six hours. The offensive also commemorated by a large monument in Yogyakarta. The "Six hours in Yogyakarta" are celebrated every 1 March with parades all over the city and other celebrations.