DIABALY, Mali On Jan. 14, Diakaridia Doumbia locked his door, climbed to the second floor and peered down from his mud-brick home at a swarm of cocaine-drugged Islamist rebels who had captured the town of Diabaly earlier that day.
The towering retired soldier, now graying, placed a call to a friend in the Malian military.
"They are outside my house. They look like they are packing their cars to keep driving," he reported.
Soon after, French jets swooped down and struck, obliterating several of the cars and incinerating their inhabitants.
Later, Doumbia received a call. This time, the man on the other line wasn't Malian.
"It was the French commander. He called often, and we talked. I told him where the rebels were and what they were doing," said Doumbia, who served in the Malian military from 1974 until 2007.
The French beat back the sudden Islamist advance south into Diabaly with heavy air power, but it turns out they had some help: Doumbia and a spontaneous network of residents who responded to the capture of their farming community by risking their lives to channel intelligence out of the town.
"Everyone was calling," said the mayor, Oumar Diakite, who was out of town when Diabaly was attacked and then was summoned by the governor. Diakite compiled the reports in real time working next to detailed computer grids of the area that had been saved from U.S. development projects in the area's complex canal system and reported the coordinates to the military, which relayed them to the French command.
The townspeople's response will pose a serious problem for the rebels if it is replicated elsewhere.
Fighting an insurgency against a more powerful force is hard, but it's even harder without local complicity.
Part of the town's disgust stemmed from the intruders' behavior, and one trait in particular: Many of the outsiders, some of whom belonged to the regional al-Qaida group and quickly banned cigarettes in the town, apparently were druggies.
Doumbia and one other Diabaly resident reported watching the rebels regularly using cocaine.
"We saw them sniffing it, smoking it. Some were injecting it," Doumbia said.
Experts say the Sahara desert in west Africa, with its loose borders and weak governments, is rapidly becoming one of the prime cocaine-trafficking routes in the world. Its lucrative windfall is thought to help finance the Islamist rebels.
The communication lines the townspeople of Diabaly opened after their occupation worked both ways.
On the first night the rebels were in town, the mayor prompted by the French spread the word that airstrikes were coming and told the population to gather in a far area of town.
The rebels soon figured out what was happening. From then on, when they saw civilians moving en masse, they began following and mingling among them. Then they cut the mobile-phone network lines and sent patrols to do the same in two surrounding villages.
Still, some spots got faint reception. Alou Zerbo, 43, found such a location outside town, where he called an official. Ten minutes later, a French officer called back.
"Are the rebels still there? What is their position?" he was asked across the phone. He described how the rebels were hiding in civilian homes and advised that it therefore would be hard to hit them without hitting civilians.
"He replied, 'OK, we are going to find a way,' " Zerbo recounted.
No civilians were killed during the air raids, which were at times so precise that charred truck shells sat just feet away from undamaged houses.
The rebels made it clear that government collaborators were considered infidels and would be killed.
The rebels had set up checkpoints to try to keep civilians from leaving, but Zerbo and others began smuggling out residents with information on motorcycles through back roads.
But the information was no longer as fresh or regular. The bombings slowed.
Then Doumbia acted.
Sneaking out of town on a motorcycle, he returned later that evening, Jan. 16, with a satellite phone. From his house, he maintained regular contact with France's command post in Markala, nearly 90 miles south.
That night and the following morning, the bombing was more intense.
The rebels then began bickering among themselves. That evening, their trucks began speeding north, lights off, into the night.
Diakite, the mayor, said Doumbia's satellite phone reports were key for the air operation.
The rebels had numbered roughly 250 to 300, and they came with nearly 60 vehicles. According to Diakite, 33 of those vehicles were destroyed: nine in Diabaly and the rest as they sped from the town that had refused to welcome them.
"They tried to be nice to be people. They said they are just here to preach Islam," Zerbo said. "We told them we are Muslims already, so if it is just about Islam, please leave and let us be."