TORONTO - When Sam Campbell's mare Koko began acting in a decidedly unmare-like manner, aggressive to people and trying to mount other females in the herd like a stallion, she was baffled by what was causing such behaviour. Well, it turns out that Koko was no lady in more ways than one.

Scientists at the University of Guelph discovered that the six-year-old "Paint" is a rare intersex, or sex-reversed, horse. Outwardly, Koko has all the characteristics of a mare but was born with internal testes that were juicing her system with testosterone and making her act like a stallion.

"I'd been training her and she'd be fine and the next day she'd go wild. Her behaviour was very erratic," said Campbell, who owns four other horses at her hobby farm near Cobourg, Ont., east of Toronto. "Then she started showing stallion-like behaviour, urinating on other horses' feces, mounting the mare horses."

"I'm thinking, what is wrong with this horse?"

Campbell said a local veterinarian she called in performed an ultrasound examination on Koko and found what looked like internal testes, a fact confirmed when the horse was taken to the University of Guelph's Ontario Veterinary College.

Tracey Chenier, an equine reproduction expert at Guelph, said stallion-like behaviour in a mare is more often the result of an ovarian tumour, so the vets examining Koko were somewhat surprised to find the horse was actually an intersex animal.

It was no wonder Koko became a problem when she was turned out with a herd of mares, said Chenier, "because she was a he, and rightly so acted like it."

But Koko's anatomy wasn't the only eye-opener for the Guelph specialists working on the case -- they found out she (or he) was not the only one.

"I was very surprised when Sam said 'I have another one at home that I think is the same,"' said Chenier, explaining that Koko's younger sister, Sequoia, had been born to the same mother, a mare called Angel that Campbell had purchased at a horse sale in nearby Lindsay, Ont.

Sure enough, an examination of Sequoia showed the filly also had internal testes, which like Koko's were surgically removed. They then discovered that Angel's sister, who had been bought by a different owner, had a female foal named Pandora that was also an intersex horse.

Professor Allan King, a specialist in animal reproductive biotechnology at the University of Guelph, said it is extremely rare to find three animals with the same genetic disorder.

"That's why we're quite interested, because it's a family rather than a random occurrence," he said. "We believe that it's inherited on the X chromosome. So their fathers were normal male stallions and their mothers are carrying this gene, which they're passing on to their offspring."

"It only comes to light when one of these animals is examined in a clinic."

King said Koko, Sequoia and Pandora cannot produce foals, as they have no cervix or ovaries. But their mothers, which likely carry a mutated gene on one of their X chromosomes, could conceivably pass it on to future offspring. The female foals would either become carriers themselves or be born as sterile, sex-reversed animals.

"In the animal world, we really have no way of following up on this," he said. "We know, for example, in this family the two females (Angel and her sister) must be carriers to pass it on to their offspring, but we don't know whether there are others out there in the family that are carrying the gene or not."

"If we understand it better, it will ... give better options for selection and breeding and management," said King, who is part of a team trying to see if a test could be developed to detect the genetic mutation.

While that knowledge may not be critical when it comes to pleasure horses such as Koko -- bred from a Quarter Horse mare and a registered Paint stallion -- the intersex anomaly could have serious ramifications in the world of horse racing, Chenier said.

Last year, two female Standardbred horses competing in the United States against other fillies in sulkie races were found to have elevated testosterone levels. Race officials thought the horses had been doped, but it turned out they also had internal male genitals that were pumping out the hormone.

Testosterone helps build muscle and a more aggressive attitude, said Chenier, possibly giving such horses an unfair competitive advantage.

"And in the racing world, if these start cropping up, where do they race?" she mused. "If they're racing as fillies but they're actually colts, hmmm, you know."

Chenier said sex-reversal also shows up in other animals, including goats and some breeds of dogs -- and, of course, people. Although not confirmed, there has been speculation that South African runner Caster Semenya, whose gender was questioned after she won the 800-metre race at the World championships in Berlin last August, has both female and male sex organs.

The U.S. Standardbreds, although not related to Koko's family, suggest that sex-altering genetic mutations may be more common in horses than previously thought.

"So maybe there are more of these apparent mares out there that people just think are aggressive, obnoxious mares that actually have testicles," Chenier said. "If this passes on through common ancestry, are we unknowingly passing this on? So it would be very nice to have a test to identify it and eliminate it."

As for Koko, her owner says the horse will always be a mare to her.

"In my eyes, she was born a girl, she had some boy parts, but on the outside she looks like a girl," said Campbell, adding that since the removal of the testes, Koko is like a different horse.

"She's amazing ... Now she's very docile, she's a lovely horse, so much so that a friend's daughter asked if she could work with her and take her into the local schooling show," she said. "It's nice that I feel safe putting somebody's child on her, because before I wouldn't let anybody ride her but me."

"It's been a wild ride."