Gabriel Mawu, a technical trainee from Indonesia, is pictured in Yamaguchi, western Japan, on July 29, 2022. (Kyodo)

A city in western Japan whose residents have been coming under attack from aggressive monkeys said Friday an Indonesian man had captured a second primate believed to be from the rampaging troop.

Gabriel Mawu -- who works for a company in Yamaguchi under the technical internship program -- caught the monkey, which has already been put down, city officials said.

The city is asking people to remain vigilant against attacks, which have ongoing since early July, with 66 people in the area injured by the rogue macaques as of 3 p.m. Friday.

A monkey caught Tuesday on the premises of a local high school by a special hunting unit was also been put down, officials said.

The second monkey -- a male approximately 54 centimeters long and weighing around 7 kilograms -- was caught at around 9 p.m. Thursday after entering a housing complex belonging to a local company.

It jumped at Mawu, who was in the kitchen on the second floor of the building at the time.

The 29-year-old held down the monkey with his right hand and called his colleagues for help. The colleagues then contacted the police, who took around 10 minutes to arrive.

Mawu was bitten on the finger and sustained minor injuries while restraining the monkey with his colleagues.

"I felt I couldn't just let (the monkey) go as many people had been attacked. My body moved on its own," Mawu said.