The boars were shot with stun guns at the school and were "confirmed dead when they were captured."
Two wild boars caused pandemonium at a Japanese school by charging into classes and even taking a dip in the school pool, forcing pupils to interrupt their exams.
Television footage showed a wild boar charging around a classroom, bashing its snout against a window in an apparent attempt to escape the school in the western city of Kyoto.
Meanwhile, the other boar was taking a soothing dip in the school's outdoor pool, as stunned students looked on.
Students were taking mid-term exams when Monday's unwelcome interruption occurred but the exams eventually continued as scheduled, public broadcaster NHK reported.
The boars were shot with stun guns at the school and were "confirmed dead when they were captured," a Kyoto city official told AFP on Thursday.