The military exercise took place around 15 miles from the border with North Korea.