During Operation Kraai, a Dutch assault on the capital at Yogyakarta which began on 19 December 1948, the cabinet and President Sukarno were captured and exiled. An emergency cabinet, under Sjafruddin Prawiranegara, was established in Sumatra; however, the Hatta Cabinet was not formally disbanded. After the political leadership was released and returned to Yogyakarta, Prawiranegara returned control of the country to Hatta's cabinet effective 13 July 1949; the Hatta cabinet retained its line-up until 4 August 1949, when it was reshuffled, again with Hatta as prime minister.