By Olivia Bahou
Updated May 12, 2017 @ 4:44 pm
Dimitrios Kambouris/WireImage; Jon Kopaloff/FilmMagic

Happy birthday, Robert Pattinson! The actor turns 31 years old today, and he has come a long way since his days as a Cedric Diggory in Harry Potter and the Goblet of Fire.

Pattinson encountered major fame when he was cast as Edward Cullen in the young adult novel-turned-blockbuster Twilight, thrusting him and his co-stars into the spotlight. When the franchise wrapped in 2012, the actor made a major career change, springing for indie films like Maps to the Stars, Life, and Good Time.

VIDEO: Robert Pattinson and FKA Twigs' Cutest Couple Moments

Pattinson’s style followed suit, with clean-shaven and wavy-haired red carpet appearances giving way to shaved heads and scruffy beards. In honor of his 31st birthday, we’re taking a look back at his transformation from an adorable blonde 4-year-old to a hunky leading man.

RELATED: Robert Pattinson Is "Curious" About Exploring a Twilight Reboot

Happy birthday, Rob!