President Barack Obama is giving it up for the Chicago Cubs.

Obama posted a message of "Holy Cow" and congratulations Sunday on Twitter, adding: "Even this White Sox fan was happy to see Wrigley rocking last night."

Obama is a well-known fan of the Cubs' crosstown rivals, the Chicago White Sox.

First lady Michelle Obama beat the president to it earlier Sunday with her own tweet celebrating the Cubs' pennant win.

PHOTOS: Cubs going to the World Series