President Donald Trump has reportedly woken up to the possibility of being impeached by Democrats but thinks he can play the situation toward a 2020 reelection.

If he is impeached but not removed from office, the news website Axios said Wednesday, Trump would try to play the victim card and paint Democrats as having unfairly attacked him.

Axios says Trump thinks he can win that argument.

Trump previously questioned whether the 2018 midterm elections even mattered but now appears to be paying attention.

President Donald Trump has reportedly woken up to the possibility of being impeached but thinks he could play the situation toward a big reelection in 2020.

If he is impeached but not removed from office, Trump would try to play the victim card and paint Democrats as having unfairly attacked him over accusations of collusion and obstruction of justice, the news website Axios reported on Wednesday.

"He has repeated to folks that, if the Democrats impeach him, it would be a victory, politically, because it would be a complete overreach and he could exploit it and run against it in 2020," a source familiar with Trump's thinking on the November midterms told Axios.

Speculation is swirling over whether Democrats will seek to impeach Trump if they regain majorities in Congress in the midterms. While the Senate map favors Republicans, given the large number of seats Democrats must defend, the GOP is widely expected to lose control of the House.

Trump previously questioned whether the 2018 midterm elections even mattered.

"Your vote in 2018 is every bit as important as your vote in 2016," Trump said during speech in May.

"Although I'm not sure I really believe that," he joked, adding: "I don't know who the hell wrote that line."

But Trump's thinking on the midterms seems to have shifted, and he and his allies have used the threat of impeachment to try to galvanize GOP voters.

Trump told a crowd in Montana this month that if he were to be impeached, "it's your fault because you didn't go out to vote."