It took all day for rangers to finally capture the big cat, seen in the video leaping at a man and biting his shoulder
This horrifying CCTV footage shows an angry wild leopard mauling a helpless man after wandering into a school.
The big cat attacked several people around the school's swimming pool.
It is seen leaping on to one man's back and biting his arm.
Eventually, the man manages to stand up and fight the animal off, shaking it off and prompting it to flee.
Next, it is seen stalking the school corridors.
The terrifying footage was captured on Sunday at Vibgyor School in Bangalore, India.
Four people were injured before the big cat was tranquilised by forest officials.
Read more: Leopards hang antelope from tree to stop animals pinching prey
"It was a long struggle to capture the leopard," said Deputy Police Commissioner Dr S Boralingaiah.
"Although it was injected with tranquilisers it could be captured only around 8.15pm when the medication took full effect."
Rescuers have taken the animal to a sanctuary at Bannerghatta National Park.
Read more: Giant 'Beast of Broomfield' spotted roaming gardens in Essex
It is the first time a leopard has been seen in the area since 2012.