2012 has been a big year for Justin Bieber -- he turned 18, bought a multimillion dollar home, and he graduated from high school.

Though the pop star earned his degree on the road with the help of tutors, talk show host Ellen DeGeneres wanted to make sure his educational accomplishments were properly celebrated. On Wednesday, DeGeneres surprised Bieber with a graduation ceremony in front of her entire audience, which included Bieber's mother and managers.

After handing him the traditional graduation robe, Ellen noted that she knows how important his hair is to him, and so she had a special cap created that hovered above his head and thus wouldn't interfere with his famous tresses.

Ellen gave a joke-filled speech before handing Bieber his diploma:

"We're here to honor the accomplishments of the Biebs, a great American who happens to be from Canada. Justin, you finally made it, you're graduating and I'm so proud of you, because I always said 'there ain't nothing more better than an education,'" she said as the audience burst into laughter. "You've accomplished so much in a short time, you're only 18 and an international superstar. When I was 18, my biggest accomplishment was drinking a whole bottle of boysenberry syrup from the International House of Pancakes."

DeGeneres had a few words of advice for Justin as he embarks on the next chapter of his life, telling the pop star, "So now that you're graduating, you're going to have to survive on your own. You're going to need a strong character, a good business sense, and you're going to need suspenders -- honestly, your pants need to be pulled up at some point."

In early May, Bieber first revealed the good news to the Australian newspaper The Telegraph: "I just finished high school. I passed my test -- I'm free! It was hard doing school and work every day," he said, adding that he made sure to finish his schooling for his mother, who really wanted him to earn his high school diploma.

Loading Slideshow...
  • NEW YORK - SEPTEMBER 01: Musician Justin Bieber visits the Nintendo World Store on September 1, 2009 in New York City. (Photo by Bryan Bedder/Getty Images)

  • NEW YORK - NOVEMBER 15: Justin Bieber performs on ABC's Good Morning America' at ABC News' Good Morning America Times Square Studio on November 15, 2009 in New York City. (Photo by Michael N. Todaro/WireImage)

  • NEW YORK - DECEMBER 11: Justin Bieber attends the Z100s Jingle Ball 2009 presented by H&M at Madison Square Garden on December 11, 2009 in New York City. (Photo by Jim Spellman/WireImage for Clear Channel Radio)

  • LOS ANGELES, CA - FEBRUARY 13: Singer Justin Bieber poses after his free performance presented by KIIS-FM at Nokia Plaza L.A. Live on February 13, 2010 in Los Angeles, California. (Photo by Angela Weiss/Getty Images)

  • NEW YORK - NOVEMBER 26: Justin Bieber promotes his new book 'First Step 2 Forever' at Barnes & Noble, 5th Avenue on November 26, 2010 in New York City. (Photo by Andy Kropa/Getty Images)

  • LOS ANGELES, CA - MAY 15: Justin Bieber attends KIIS FM's 2010 Wango Tango Concert at Staples Center on May 15, 2010 in Los Angeles, California. (Photo by Jason LaVeris/FilmMagic)

  • Teen idol Justin Bieber arrives on the red carpet for the 68th annual Golden Globe awards at the Beverly Hilton Hotel in Beverly Hills, California, on January 16, 2011. AFP PHOTO/Valerie MACON (Photo credit should read VALERIE MACON/AFP/Getty Images)

  • LONDON, ENGLAND - FEBRUARY 16: Justin Bieber attends the 'Justin Bieber: Never Say Never' premiere at the O2 Cineworld on February 16, 2011 in London, England. (Photo by Jon Furniss/WireImage)

  • LAS VEGAS, NV - MAY 22: Singer Justin Bieber poses in the press room with the Digital Artist of the Year award during the 2011 Billboard Music Awards at the MGM Grand Garden Arena May 22, 2011 in Las Vegas, Nevada. (Photo by Isaac Brekken/Getty Images)

  • NASHVILLE, TN - JUNE 08: Justin Bieber attends the 2011 CMT Music Awards at the Bridgestone Arena on June 8, 2011 in Nashville, Tennessee. (Photo by Jeff Kravitz/FilmMagic)

  • Singer Justin Bieber attends the 2011 BET Awards at The Shrine Auditorium on June 26, 2011 in Los Angeles, California. (FilmMagic)

  • UNIVERSAL CITY, CA - AUGUST 07: Singer Justin Bieber arrives at the 2011 Teen Choice Awards held at Gibson Amphitheatre on August 7, 2011 in Universal City, California. (Photo by Jon Kopaloff/FilmMagic)

  • Singer Justin Bieber arrives at the The 28th Annual MTV Video Music Awards at Nokia Theatre L.A. LIVE on August 28, 2011 in Los Angeles, California. (WireImage)

  • NEW YORK, NY - SEPTEMBER 08: Justin Bieber attends the Dolce & Gabbana Boutique on September 8, 2011 in New York City. (Photo by Eugene Gologursky/Getty Images for Dolce & Gabbana)

  • Singer Justin Bieber poses in the press room at The 53rd Annual GRAMMY Awards held at Staples Center on February 13, 2011 in Los Angeles, California. (Photo by Michael Tran/FilmMagic)

  • ATLANTA, GA - SEPTEMBER 17: (EXCLUSIVE COVERAGE) Musician and 2011 Horizon Award Recipien Justin Bieber poses backstage at the 33rd Annual Georgia Music Hall Of Fame Awards at the Cobb Energy Performing Arts Center on September 17, 2011 in Atlanta, Georgia. (Photo by Ben Rose/WireImage)

Also on HuffPost: