Where was the military academy located