CAPE TOWN, SOUTH AFRICA -- Kataza already had a lengthy rap sheet with Cape Town authorities, so when he organized a band of others to raid a series of suburban homes, he was captured. Now he sleeps at a local prison, although there is a social media campaign for him to be returned to his old stomping grounds.

Kataza is a baboon, one of a few hundred urban baboons who live around Cape Town and are often a nuisance when they invade properties looking for food. They knock over trash cans, steal fruit and vegetables from gardens, and generally cause trouble.

Kataza's story is the latest in Cape Town's ongoing dilemma over how to deal with the baboons, who live in the craggy mountains that surround the city but often jump at the chance to roam through residential areas and scavenge for anything edible.

There are around 15 troops in the greater Cape Town area and something in the region of 500 baboons, according to experts. The city even has a Baboon Technical Team. Wildlife rangers chase baboons away from some neighbourhoods by shooting paintball guns at them. The most persistently troublesome primates are sometimes euthanized.

Kataza operated in the seaside village of Kommetjie, on Cape Town's southern peninsula. After he was captured, rangers relocated him to the nearby area of Tokai, hoping that he would integrate with another, better-behaved troop and stop his mischief.

Activists, however, want him to be taken home and reunited with his own troop. "#BringBackKataza" reads a sign posted by a road in Kommetjie. There's a Facebook page calling for his safe return.

Kataza was unfairly singled out, said Jenni Trethowan. She runs Baboon Matters, a conservation organization in Cape Town that seeks ways for humans and baboons to peacefully co-exist. She wants him back in Kommetjie.

"He's no worse than any of the other baboons. He's just an urban baboon," Trethowan said.

Trethowan has spent many days observing Kataza since he was relocated late last month. He hasn't integrated with the Tokai troop, she said, is isolated and appears to be "depressed." He now spends his days wandering through the streets of Tokai, and his nights sleeping in the yard of a local prison.

"He lowers himself over the prison wall, or just ambles through the gate," she said.

Authorities keep what they call "rap sheets" that list a baboon's misdemeanours and Kataza's was apparently extensive. They had watched him since April, when he raided five occupied houses. The final straw came when he led his troop on 15 raids through Kommetjie in July and August, they said.

"He generally solicited other individuals to join him in raiding town," Kataza's rap sheet says, according to a South African newspaper that viewed the document.

Trethowan said the city is just blaming baboons for being baboons. Instead, Cape Town should take measures to ease the problem. Baboon-proof trash cans would help, she said.

"Baboons are criminalized for things that baboons do normally," Trethowan said. "They are just opportunistic foragers."