An antibiotic-resistant superbug - a type of MRSA - evolved naturally as a result of a battle between a fungus and bacteria on the skin of wild hedgehogs.
The evidently "hedgehog-derived" bacteria developed in nature long before the antibiotics we are familiar with were discovered.
An international research team found that a skin fungus common in hedgehogs naturally produces antibiotics.
Bacteria on the animals' skin developed antibiotic resistance in response.
The researchers say their findings, published in the journal Nature, shows how natural biological processes - not antibiotic use - drove the emergence of this particular superbug about 200 years ago.
The specific bacterium, called mecC-MRSA, was first found in dairy cattle and it had been assumed that the use of antibiotics on dairy farms had caused it to develop its resistance.
This is, though, just one, relatively rare example of antibiotic resistance arising naturally. And the discovery "represents a tiny fraction of the risks compared to overuse of antibiotics in a human medical context", one of the lead researchers, Prof Mark Holmes from the University of Cambridge, told 365Nainanews News.
MecC-MRSA causes about one in 200 human infections. The overuse of antibiotics, both in humans and farm animals, continues to drive the emergence of other, resistant, disease-causing strains.
The study itself has solved a long-standing mystery about the source of this particular type of MRSA, which veterinary scientists from the University of Cambridge discovered a decade ago.
"We tried to work out how much of a problem it was - so we looked in wildlife and in farm animals and found that it was clearly very widely distributed in nature," explained Prof Holmes. "When we looked at hedgehogs in particular, about half of the animals we sampled had this type of MRSA."
Teaming up with biologists, wildlife researchers and with hedgehog rescue centres all around Europe, the scientists then focused their investigations on hedgehogs
"We wanted to know," Prof Holmes explained, "what's so special about a hedgehog that means there's a lot of these resistant bacteria?"
Research colleagues at the Statens Serum Institut in Copenhagen, Denmark, studied more than 1,000 samples of bacteria taken from wildlife around Europe. They built a genetic code-based timeline , which revealed that the resistant strain had emerged in European hedgehogs in the early 1800s - long before the clinical use of antibiotics.
"The fungus growing on the hedgehog was releasing penicillins," explained Prof Holmes.
"The bacteria needed to be resistant because, if you want to live on the hedgehog - where there's a fungus, you have to be resistant to the antibiotics it's producing."
The evolutionary "arms race" on the hedgehog's skin is a natural example of what Alexander Fleming saw on his petri dish when he discovered penicillin in 1928 - he noticed that no bacteria could survive close to a mould - a fungus - that had contaminated the gel in his dish.
Antibiotic resistance: A silent pandemic
Source: World Health Organization
The study is part of an ongoing effort by these scientists to understand where "reservoirs" of antibiotic resistant bacteria are, how they emerge and what practices and sources pose the greatest risk to people.
"The reassuring thing is to be reasonably confident that it isn't the overuse of antibiotics in dairy farms that leads to this type of MRSA being present in people," said Prof Holmes. "But that does not mean that we should relax [the rules] on the use of antibiotics.
"It isn't just hedgehogs that harbour antibiotic-resistant bacteria - all wildlife carries many different types of bacteria, as well as parasites, fungi and viruses," he added.
"Wild animals, livestock and humans are all interconnected: we all share one ecosystem. It isn't possible to understand the evolution of antibiotic resistance unless you look at the whole system."
Follow Victoria on Twitter