To be a yankee from the North as opposed to a Confederate from the South during the American Civil War.
Now just mean's an American.
In The Past.....
Southerner: "I'll get y'all yo' damn, yankee."
Yankee: "Fuck off, hillbilly."
"The yank's invaded Iraq."