President Obama celebrated the Duke basketball team’s national championship at the White House on Tuesday, saying he has a lot in common with the Blue Devils.

“I can relate to this program: does well in the classroom, won twice in the past four years, knows what it’s like for people to oppose you no matter what you try to do,” he said during a ceremony in the East Room.

The president’s comment elicited plenty of laughs from the crowd, especially when he brought up one of the most polarizing players in school history.

“When I flip on ESPN and I see a documentary about how people still hate Christian Laettner, a guy who played for Duke 23 years ago, I realize, well, maybe I don’t have it so bad,” he joked. “Or maybe I think this is going to be a long 23 years.”

Duke pulled off a comeback victory against Wisconsin to win the 2015 NCAA championship. The team was led by an outstanding freshman class that included Jahlil Okafor, Tyus Jones and Grayson Allen.

“If people didn’t like this year’s Blue Devil team, they were just bein’ haters,” Obama said.

The final result surprised many, including the president, who picked the University of Kentucky to beat Villanova in the championship game. Obama had Duke losing in the Final Four in his bracket.

It was a momentous season for the program, with coach Mike Krzyzewski claiming his 1,000th career win.

But Obama joked that the squad’s White House ties had something to do with it too, noting his old body man and close friend Reggie Love played for Duke in the early 2000s and a former White House intern served as this year’s head manager.

“A little White House magic rubbed off on this team, just saying,” Obama said.

It was Duke’s second trip to the White House to celebrate a national title during Obama’s presidency. The last visit was in 2010, Obama’s second year in office. 

Krzyzewski gifted Obama with a Duke jersey, a ball and an invite to a basketball fantasy camp for players age 35 and over after he leaves office.

“I’ll dominate,” Obama said.