It wasn't too long ago that President Barack Obama snubbed the Chicago Cubs on Twitter.

Now, Obama, who's known as @POTUS on the social media network, has changed his tune.

Moments after the Cubs sealed their NLDS victory over the St. Louis Cardinals on Tuesday, the First Fan of the White Sox congratulated his crosstown rival on Twitter.

More from FoxSports

While Obama's love for the White Sox is well-documented, he recently told a Chicago newspaper that he's "rooting for the Cubs to win the Series" and that he's a "fan" of manager Joe Maddon.

When you're the President of the United States, it's never too late to jump on the bandwagon of a winning sports team.