"The recent poll said we're 2 down in New Hampshire. You know what I said? I don't think so. I don't think so. These polls, these polls, these are called dirty polls," he told the crowd.
Just days before, he rolled out the results of a different poll at a rally in St. Augustine, Florida.
"The new poll that just came out from Investor's Business Daily, which was the most accurate poll from the last three presidential elections, has us up 2 points nationwide," he said on Oct. 24.
For Trump, his relationship with the polls is love-hate: love when he's leading, hate when he's not. (He often calls the polls he disagrees with "phony" or "rigged.")
During that St. Augustine rally, Trump blasted other surveys as being rigged by Democratic operatives.
"When the polls are even, when they leave them alone and do them properly, I'm leading," he said. "But you see these polls where they're polling Democrats — 'How is Trump doing? Oh, he's down' — they're polling Democrats. The system is corrupt, and it's rigged, and it's broken."
At that rally, as he often does, Trump painted a picture of a vast conspiracy against him and his supporters.
Trump's tortured relationship with the polls goes back to the Republican primaries, when he would kick off almost every rally touting his numbers, especially when he started pulling far ahead of his opponents toward the end of the contest.
He also loved to tout polls — largely unscientific — that showed him winning the debates during the general election. For instance, a Drudge Report poll showed Trump winning the first debate 82 to 18 percent.
Scientific polls seemed to suggest a different outcome — 62 to 27 percent saying Clinton won, according to CNN/ORC's survey.
He did the same for the second debate:
And the third:
In recent weeks and amid a dip in the polls, Trump stepped up his attacks on surveys that showed him down and heaped praise on those that showed him up, even if the differences were within the surveys' margin of error.
On Oct. 22, an ABC News poll showed Clinton with a double-digit lead nationally — a lead that has since evaporated.
Two days later, at the St. Augustine rally, Trump complained that the polls were oversampling Democrats and pointed to an email that Clinton campaign chairman John Podesta wrote about oversampling Democrats "in order to maximize what we get out of our media-polling."
At that event, Trump said, "We're winning, we're winning" and the "press is refusing to report it." But he bizarrely conceded in an interview the same day, "I guess I'm somewhat behind in the polls but not by much."
Trump quickly changed his tune, however, in the wake of the FBI revelation about possible additional Clinton emails, which coincided with a tightening of the race and Clinton's lead all but disappearing.
In Warren, Michigan, Trump gloated about his performance, saying, "So you know, you've been seeing polls," he told the crowd on Oct. 31. "We're winning almost everywhere."
He homed in on the traditionally blue state of Michigan.
"So what happens is I get this poll, and it says we're doing well in Michigan," he said. "Well, not for me, well, but for all the geniuses that work for me. They say, 'Oh, you're even in Michigan.' So I say, 'Let's go to Michigan,' and we just left another place. I said, 'Let's go and win it.'"
He also boasted about "winning nationally" and "winning in Iowa. We're winning in North Carolina — that one just came in. We're winning big in Florida. We're winning by 4 points in Florida."
But Trump took issue with reports that the race was tightening in traditionally red Texas, saying that early voting was a "total wipeout" for him, based on the word of the state's Agriculture Commissioner Sid Miller.
In making the argument, Trump returned to a familiar refrain, saying, "You know, they give you phony polls, folks. Phony polls."
Then on Wednesday, when some polls showed him up in swing states, he sang their praises.
"We're winning in Florida. We're winning in Ohio. We're winning in Iowa, in North Carolina. We're doing great in Pennsylvania. A lot of people are saying Pennsylvania's looking very good," Trump told a crowd in Orlando. "So many different places. We just got a poll — we're 3 up in Virginia. But we are seriously up in Florida. That's very important."
Gone was the talk about phony polls.