The military says five government soldiers were also killed in the fighting that began Saturday when militants attacked a security outpost in the region 's main town of Miranshah and seized several government buildings .