1822, Scottish, of unknown origin. Related: Yanked; yanking. The noun is 1818 in sense of "sudden blow, cuff."
To victimize or harass; dupe; mislead: The detective uses expressions like ''You gotta be yankin' me''
[1970s+; an alteration and shortening of yank someone's chain or jerk someone around or jack someone around]
[a shortening fr Yankee for both senses]