Story highlights Obama also congratulated the NFL

Sam was drafted by the St. Louis Rams in the 7th round

Sam played defense for the University of Missouri

He came out in February, telling ESPN: "I'm an openly proud gay man''

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 everyday 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 in the arms of 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!!"

Photos: Photos: Michael Sam's journey Photos: Photos: Michael Sam's journey Michael Sam's journey – Michael Sam, the first openly gay player drafted by the NFL, has told the Canadian Football League's Montreal Alouettes that he is leaving the team. He tweeted Friday, August 14: "The last 12 months have been very difficult for me, to the point where I became concerned with my mental health. Because of this I am going to step away from the game at this time." Hide Caption 1 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam was selected in February as a celeb competitor on ABC's "Dancing With the Stars" Season 20. He became the third contestant eliminated after dancing with partner Peta Murgatroyd to the song "I'm Not My Father's Son." Hide Caption 2 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Michael Sam speaks to reporters September 3, 2014, after practicing at the Dallas Cowboys' headquarters in Irving, Texas. Sam did not make the St. Louis Rams' final 53-man roster , but he was signed by the Cowboys to be on their practice squad. He was later waived from the team. Hide Caption 3 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam looks on prior to the NFL preseason game between the St. Louis Rams and the Miami Dolphins on August 28, 2014. "The most worthwhile things in life rarely come easy, this is a lesson I've always known," Sam tweeted after the Rams released him. "The journey continues." Hide Caption 4 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam mocks Johnny Manziel's "money" celebration after sacking the Cleveland Browns quarterback during a preseason game August 23, 2014, in Cleveland. Sam, a defensive end, had three sacks in the preseason. Hide Caption 5 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam accepts the Arthur Ashe Courage Award during the 2014 ESPYs on July 16. "Great things can happen when you have the courage to be yourself," Sam said while accepting the award, which is given to those who have shown strength in the face of adversity and stood up for their beliefs. Hide Caption 6 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam and his boyfriend, Vito Cammisano, kiss in San Diego after Sam was drafted on May 10, 2014. Sam was selected by the Rams in the seventh round with the 249th overall pick. Cammisano tweeted a photo of their kiss and said he was "so proud and happy." Hide Caption 7 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam hoists the Cotton Bowl trophy as the University of Missouri's football team is honored at halftime of a Missouri basketball game February 15, 2014, in Columbia, Missouri. Sam was instrumental in leading the Tigers to a 12-win season, an SEC Eastern Division title and a Cotton Bowl victory over Oklahoma State. He was named to many All-American teams, and he was selected as the SEC's co-defensive player of the year. Hide Caption 8 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam runs the 40-yard dash February 2, 2014, during the NFL Scouting Combine in Indianapolis. Hide Caption 9 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam runs onto the field January 25, 2014, before the NCAA Senior Bowl in Mobile, Alabama. Hide Caption 10 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam reacts after Oklahoma State missed a field goal January 3, 2014, during the Cotton Bowl in Arlington, Texas. Hide Caption 11 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam speaks to the media during a Cotton Bowl news conference on January 1, 2014. Hide Caption 12 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam celebrates with fans November 9, 2013, after Missouri defeated the Kentucky Wildcats in Lexington, Kentucky. Hide Caption 13 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam celebrates a sack October 19, 2013, during the first half of a game against the Florida Gators. Hide Caption 14 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam returned a fumble for a touchdown October 12, 2013, against the Georgia Bulldogs in Athens, Georgia. Hide Caption 15 of 16 Photos: Photos: Michael Sam's journey Michael Sam's journey – Sam and his Missouri teammates sing the school song September 21, 2013, after defeating Indiana in Bloomington, Indiana. Hide Caption 16 of 16

JUST WATCHED What Sam means for the NFL Replay More Videos ... MUST WATCH What Sam means for the NFL 02:03

JUST WATCHED Watch NFL prospect reveal he's gay Replay More Videos ... MUST WATCH Watch NFL prospect reveal he's gay 01:38

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.

"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.