Invited by Knicks owner James Dolan, he will be the first sitting president to attend an NBA Finals game.