In 1698, five ships set sail from Scotland, carrying a cargo of fine trade goods, including wigs, woollen socks and blankets, mother-of-pearl combs, Bibles, and twenty-five thousand pairs of leather shoes. There was even a printing press, with which the twelve hundred colonists aboard planned to manage a future busy with contracts and treaties. To make space for the luxuries, the usual rations for food and farming were reduced by half. But farming wasn’t the point. The ships’ destination was the Darien region of Panama, where the Company of Scotland hoped to create a trading hub that would bridge the isthmus and unite the world’s great oceans, while raising the economic prospects of a stubbornly independent kingdom that had just struggled through years of famine. The scheme was wildly popular in the desperate country, attracting a wide range of investors, from members of the national Parliament down to poor farmers; it has been estimated that between one-quarter and one-half of all the money in circulation in Scotland at the time followed the trade winds to Panama.

The expedition met with ruin. Colonists, sickened by yellow fever and strains of malaria for which their bodies were not prepared, began to die at the rate of a dozen a day. “The words that are repeated to the point of nausea in the diaries, letters, and accounts of the Scottish settlers are mosquitoes, fever, ague, and death,” the historian Timothy C. Winegard writes in his sprawling new book, “The Mosquito: A Human History of Our Deadliest Predator” (Dutton). After six months, with nearly half their number gone, the survivors—except those too weak to move, who were left behind on the shore—returned to their ships and fled north. Still, they kept dying in droves, their bodies thrown overboard. When a relief mission arrived in Darien, they found, of all the wigs and combs and shoes and ambition that had left Scotland, only a deserted printing press on an empty beach.

But, Winegard writes, the expedition did have some lasting results: the overwhelming debt from the failure drove the reluctant Scottish to at last accept a unification offer from England. The mosquitoes of Darien led, by an unexpected route, to the birth of Great Britain.

Winegard’s book offers a catalogue of such stories. It turns out that, if you’re looking for them, the words “mosquitoes,” “fever,” “ague,” and “death” are repeated to the point of nausea throughout human history. (And before: Winegard suggests that, when the asteroid hit, dinosaurs were already in decline from mosquito-borne diseases.) Malaria laid waste to prehistoric Africa to such a degree that people evolved sickle-shaped red blood cells to survive it. The disease killed the ancient Greeks and Romans—as well as the peoples who tried to conquer them—by the hundreds of thousands, playing a major role in the outcomes of their wars. Hippocrates associated malaria’s late-summer surge with the Dog Star, calling the sickly time the “dog days of summer.” In 94 B.C., the Chinese historian Sima Qian wrote, “In the area south of the Yangtze the land is low and the climate humid; adult males die young.” In the third century, malaria epidemics helped drive people to a small, much persecuted faith that emphasized healing and care of the sick, propelling Christianity into a world-altering religion.

Winegard finds first-person descriptions of death and suffering caused by mosquito-borne diseases in many eras. Florence Nightingale called the Pontine Marshes, near Rome, “the Valley of the Shadow of Death”; a German missionary visiting the southern United States wrote that it was “in the spring a paradise, in the summer a hell, and in the autumn a hospital”; a Mayan survivor of post-Columbus epidemics remembered, “Great was the stench of death. . . . All of us were thus. We were born to die!” And yet human beings lived with, and died from, mosquito-borne diseases for thousands of years without understanding how they were reaching us. Not until the end of the nineteenth century was it scientifically established that mosquitoes transmitted malaria. Before then, the miasma theory, holding that fevers travelled independently, through fetid environments, held sway, reflected in the very word “malaria”: we thought we were the victims of “bad air.” That these tiny biting insects might be affecting our lives so profoundly was a leap beyond imagining.

Winegard is particularly interested in wars and conquests, and argues that, for much of military history, deaths caused by mosquitoes far outnumbered, and were more decisive than, deaths in battle. Malaria has many strains, of varying deadliness, but survival rates are lowest for people encountering new varieties to which they have not been “seasoned”—to which they have gained no immunity. As a result, endemic malaria has often acted not only as a local curse but also as a strange sort of protector. Fifteen centuries before the Scottish tried to colonize Panama, the Romans tried to colonize them, and were thwarted by a strain of malaria local to Scotland which is estimated to have killed half of the eighty thousand Roman soldiers sent their way. Endemic strains decimated Hannibal’s forces as they made their way through Italy, turned the armies of Genghis Khan away from southern Europe, prevented European crusaders from conquering the Holy Land (malaria killed more than a third of them), and sided with North American colonists and Latin American revolutionaries in their rebellions against armies brought in from a distant, ruling continent.

Military strategists, from Saladin to the Nazis, used mosquitoes as direct weapons of war. At Walcheren, Napoleon breached dikes to create a brackish flood—the ensuing malaria epidemic killed four thousand English soldiers—and declared, “We must oppose the English with nothing but fever, which will soon devour them all.” Often, of course, malaria exacted a toll on both sides. It pushed English Protestants into Catholic Ireland, setting the stage for the Troubles centuries later. But Oliver Cromwell, the Englishman who conquered Ireland, died of malaria, in 1658, rather than take quinine, the only known treatment, because he associated it with its Catholic discoverers, making him a victim of both parasitosis and sectarianism.

The most dramatic conquest by mosquitoes came when old diseases encountered a new continent. When Columbus arrived in the New World, the mosquitoes there were pesky but carried no diseases. (Winegard chalks this up to different farming practices here: far less cultivation and disruption of natural ecosystems, and less direct contact with animals through husbandry. Syphilis was perhaps the only disease to ride the Columbian Exchange eastward.) But the blood of the new arrivals, and the mosquitoes that crossed with their ships, changed everything. Just twenty-two years after Columbus stepped onto Hispaniola, a census revealed that the local Taino population had dropped from between five and eight million people to just twenty-six thousand. Along with smallpox and influenza, mosquito-borne diseases led, by Winegard’s estimate, to the deaths of ninety-five million indigenous inhabitants of the Americas, from a pre-contact population of about a hundred million.

To the colonizers, who spread more slowly than the diseases they brought, these were largely invisible deaths, which helped create the pernicious myth of an empty continent and a Manifest Destiny to fill it. A rare account from a marooned Spanish sailor who made his way from Florida to Mexico City in 1536 described seeing native people “so bitten by mosquitoes that you would think they had the disease of Saint Lazarus the Leper. . . . It made us extremely sad to see how fertile the land was, and very beautiful, and very full of springs and rivers, and to see every place deserted and burned villages, and the people so thin and ill.” By the seventeenth century, the losses were so great that a French explorer considered them a justification for racism: “It appears visibly that God wishes that they yield their place to new peoples.” As the recent arrivals cleared land for their own purposes, they also created fresh habitats for mosquitoes, allowing their populations to skyrocket.