The story
The phrase from Scotland originally meant to make a fool of someone, often by cheating him. One theory is that it is derived from tripping someone by yanking or pulling his leg in order to make him stumble and look foolish.
First known use, by meaning
- late 19th c. To extract money from someone (by taking out a loan or by swindling).
Etymology from Wiktionary, CC BY-SA 4.0.