WASHINGTON — President Barack Obama honored the Miami Heat for winning the 2012 NBA Championship title after falling short just a year before.

"Everybody doing their part, is what finally put the Heat over the top," Obama said, as he welcomed the team to the White House Monday to celebrate their victory.

The Heat defeated the Oklahoma City Thunder in five games in the NBA Finals last June.

The president also recognized the franchise's work off the court. He thanked them for supporting military service members at Walter Reed National Military Medical Center. Obama said one of the things he's proudest of is that many of the team members_ including LeBron James, Chris Bosh and Dwyane Wade_ "take their roles as fathers seriously."

"For all the young men out there who are looking up to them all the time, for them to see somebody who cares about their kids and is there for them day in and day out, that's a good message to send," Obama said.

Miami Heat coach Erik Spoelstra said the team hopefully will serve as an inspiration to the nation of what can be done "when you come together and sacrifice your egos for a greater goal" and "hard-hat work ethic."

James, who presented Obama with an autographed basketball, said the team including members that hail from Illinois, Texas, Michigan, Ohio and South Dakota were honored to be in the executive mansion.

"We're in the White House right now, which is like, like `mama I made it,'" James said, as the audience laughed and cheered.

The crowd of well-wishers included actress Gabrielle Union, U.N. ambassador Susan Rice, U.S. Education Secretary Arne Duncan, and Congresswomen Debbie Wasserman Schultz and Frederica Wilson. The Heat last visited the White House after winning the 2006 title.

Loading Slideshow...
  • Barack Obama, LeBron James, Dwayne Wade

    President Barack Obama stands with LeBron James, fifth from left, Dwayne Wade, third left, and coach Erik Spoelstra, right, as he honors the NBA champions Miami Heat basketball team in the East Room at the White House in Washington, Monday, Jan. 28, 2013. (AP Photo/Charles Dharapak)

  • Barack Obama, Ray Allen

    President Barack Obama shakes hand with Miami Heat guard Ray Allen as he welcomes the NBA basketball champion Miami Heat to the East Room of the White House, Monday, Jan. 28, 2013, in Washington. (AP Photo/Carolyn Kaster)

  • Barack Obama, LeBron James, Dwayne Wade

    President Barack Obama stands with LeBron James, Dwyane Wade, coach Erik Spoelstra, and others, as he honors the NBA champions Miami Heat basketball team in the East Room at the White House in Washington, Monday, Jan. 28, 2013. (AP Photo/Charles Dharapak)

  • Barack Obama, Dwyane Wade, LeBron James

    Dwyane Wade, center, shakes hands with President Barack Obama as he honors the NBA champions Miami Heat basketball team in the East Room at the White House in Washington, Monday, Jan. 28, 2013. LeBron James is seen rear left. (AP Photo/Charles Dharapak)

  • Barack Obama, LeBron James, Erik Spoelstra

    President Barack Obama is flanked by Miami Heat forward LeBron James, left, and coach Erik Spoelstra, right, as he welcomes the NBA basketball champion Miami Heat, to the East Room of the White House, Monday, Jan. 28, 2013, in Washington. (AP Photo/Carolyn Kaster)

  • Barack Obama, LeBron James

    President Barack Obama accepts a signed basketball from Miami Heat forward LeBron James as he welcomes the the NBA basketball champion Miami Heat, to the East Room of the White House, Monday, Jan. 28, 2013, in Washington. (AP Photo/Carolyn Kaster)

  • Barack Obama, LeBron James

    LeBron James speaks after presenting President Barack Obama with a basketball signed by the NBA champions Miami Heat basketball team in the East Room at the White House in Washington, Monday, Jan. 28, 2013. (AP Photo/Charles Dharapak)

  • Barack Obama, Dwyane Wade, LeBron James

    LeBron James speaks as President Barack Obama listens as he honors the NBA champions Miami Heat basketball team in the East Room at the White House in Washington, Monday, Jan. 28, 2013. Also pictured is Dwyane Wade, rear left, behind James. (AP Photo/Charles Dharapak)

  • Barack Obama, LeBron James

    President Barack Obama accepts a signed basketball from Miami Heat forward LeBron James as he welcomes the the NBA basketball champion Miami Heat, to the East Room of the White House, Monday, Jan. 28, 2013, in Washington. (AP Photo/Carolyn Kaster)