A pundit was once a scholar of sacred law. The word comes from Sanskrit paṇḍita, "learned," and reached English through Hindi paṇḍit, a respectful title for a wise person.

Merriam-Webster dates the first known English use to 1661. Its word history says English speakers applied the title to Indian sages versed in philosophy, religion or law. Dictionary.com adds a specific job: in colonial India, a pundit was a court official who advised English judges on Hindu law.

In the 19th century the title took an unexpected turn. The British wanted maps of the lands north of India for the Great Trigonometrical Survey. In the 1860s Captain Thomas George Montgomerie proposed training local men from border states such as Sikkim. Wikipedia counts about twenty of these native explorers.

They were called the Pundits after the most celebrated of them, Nain Singh, a former schoolteacher, or pundit. Their methods were ingenious. They were trained to walk 2,000 paces to the mile, and they counted on prayer beads strung with 100 beads instead of 108. Prayer wheels hid rolls of paper for notes.

Meanwhile, the word was starting to sound sarcastic. Barry Popik's research gives the OED's first example of the extended sense, from 1816. He also cites an 1862 Saturday Review mention of "the pundits of refinement." In 1870 an Australian legislator protested, "I don't pretend to be a political pundit." Merriam-Webster says that by the late 1800s pundits included political commentators, financial analysts and columnists.

Clubs took the name too. Popik records a Pundit Club formed in Rochester, New York, in 1854, and a Yale society called The Pundits announced in 1884. Dictionary.com reports that some credit the Yale group with the modern meaning, though that remains a theory.

The press made it stick. Popik finds Time magazine calling Frank R. Kent the "political pundit of the Baltimore Sun" in 1928. William Safire credited Time's founder, Henry Luce, with popularizing the word in the United States by applying it to Walter Lippmann.

Today Merriam-Webster defines a pundit as someone who gives opinions in an authoritative manner, usually through the mass media. That is a long way from the court scholars of the 1600s.