The government was saved by military aid from both India and Pakistan , thanks to Bandaranaike 's skillful foreign policy .
The government was saved by military aid from India and Pakistan .