This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

(CNN) — President Barack Obama congratulated Michael Sam on Saturday for being the first openly gay football player taken in the National Football League draft, the White House said in a statement.

“From the playing field to the corporate boardroom, LGBT Americans prove every day that you should be judged by what you do and not who you are,” Obama said. He also congratulated the NFL and the St. Louis Rams, the team that drafted Sam.

Sam, an All-American defensive end who played for the University of Missouri, made history when he was picked by the Rams in the seventh and final round. He was the 249th of 256 players selected.

The 24-year-old got the news by telephone from Rams’ coach Jeff Fisher, who told Sam: “You are a Ram. The wait is finally over.”

Sam, who was filmed by ESPN as he got the call, broke down in tears and kissed his boyfriend. “Thank you,” he could be heard saying to Fisher.

Later, Sam took to Twitter to post a picture of himself, smiling. “Thank you to the St. Louis Rams and the whole city of St. Louis,” he said in the post. “I’m using every (ounce) of this to achieve greatness!!”

St. Louis is only a two-hour drive from Columbia, home of the University of Missouri, where Sam starred.

Besides being a first-team All-American, the 6-foot-2, 260-pounder was named the co-defensive player of the year in the Southeastern Conference, widely considered college football’s best league. His fellow Tigers named him the team’s most valuable player.

With those credentials, Sam was expected to be selected, but as the three-day draft wore on, there were questions whether he would.

Fisher told ESPN that Sam was a player who was rated by the team as going much higher in the draft.

“We weren’t going to miss the opportunity to add an outstanding player to our roster,” he said.

In February, Sam came out in interviews with ESPN and The New York Times, a decision that raised questions about whether he had damaged his chances to play in the NFL.

“I came to tell the world I’m an openly proud gay man,” he said in an interview with ESPN.

Sam said he told his Missouri teammates in August and suffered no repercussions. He said he was surprised to discover many people in the media already knew he was gay.

“I understand how big this is,” Sam said in the ESPN interview. “It’s a big deal. No one has done this before. And it’s kind of a nervous process, but I know what I want to be … I want to be a football player in the NFL.”

Sam also spoke about his sexual orientation to The New York Times, saying: “I just want to make sure I could tell my story the way I want to tell it. I just want to own my truth.”

At the start of the draft on Thursday, it appeared it was also on Sam’s mind.

“No matter what happen(s) these next few days, I will always cherish moments like this!!!,” he said in a post on Twitter.

Sam’s draft was viewed as a barometer of whether the NFL was ready to accept an openly gay player. His selection is viewed as a bright spot for a league that has faced a host of criticism in recent months, from questions about the lack of minorities promoted to the number of players arrested for bad behavior.

“I think this is a good day, against the backdrop of what has happened in the NBA recently,” Margaret Hoover, a political commentator and gay rights activist, told CNN.

The NFL Players Association also weighed in on Sam’s good news.

“We wish him the best of luck as we do all of the 2014 NFL Draft class,” said George Atallah, the association’s assistant executive director of external affairs.

Other athletes have come out as gay, but they didn’t have Sam’s profile. Among them are the NBA’s Jason Collins, the WNBA’s Brittney Griner, WWE’s Darren Young, UFC’s Liz Carmouche, MMA’s Fallon Fox and Major League Soccer’s Robbie Rogers.

Of those athletes, Collins made the biggest media splash.

“I think it’s great. I’m looking forward to seeing him play,” Collins, who plays for the Brooklyn Nets, told ESPN after the draft pick was announced.

The road to football stardom was not an easy one for Sam, who graduated from Missouri in December.

One of eight children, he grew up in Hitchcock, Texas, where he was raised primarily by his mother. At one point, he has said, he lived out of his mother’s car and briefly stayed with another family.

Three of Sam’s siblings have died, including an older brother he saw die from a gunshot wound. Two of his brothers are serving prison sentences.