Dwayne "the Rock" Johnson recently revealed how he achieved his latest look and transformed himself into Hercules for his upcoming film of the same name, which is set to be released in July.

Over the past year, he has shown off how he prepared to play the lead character numerous times, and he sent photos of himself from the set via Twitter.

The 42-year-old is no stranger to exercise and intense workouts. As a former WWE champion, he came to the role with an already-imposing presence, but he seemed dedicated to working out even harder than usual to play the heroic Hercules.

“For me, as an actor and then going into 'Hercules,' finding 'Hercules' like this -- this [has] been a passion project for 10 years,” Johnson told reporters at CinemaCon in Las Vegas in March.

“The tone is a nice, even balance,” the actor continued. "I think of 'Gladiator' and '300.' There’s also personality in the movie. There’s fun. There’s some wink in the movie in a way that makes the audience feel good.”

The Rock revealed his training routine on Instagram. In addition to numerous back exercises, he also posted a list of his chest workouts, which include compound bench movements and arm exercises.

Of course, working out is only one part of how he attained his powerful look. The 6’4” star, who last starred in “G.I. Joe: Retaliation" and “Fast & Furious 6,” also includes his eating plan, which includes consuming meals seven times a day.

Meal One: 10 ounces (280 grams) of filet steak, four egg whites, five ounces (140 grams) of oatmeal 

Meal Two:  Eight ounces (225 grams) of chicken, two cups of white rice, one cup of broccoli

Meal Three:  Eight ounces of halibut fish, two cups of white rice, one cup of asparagus

Meal Four:  Eight ounces of chicken, 12 ounces (340 grams) of baked potato, one cup of broccoli

Meal Five:  Eight ounces of halibut fish, one-and-a-half cups of white rice, one cup of asparagus

Meal Six:  Eight ounces of filet steak, nine ounces (255 grams) of baked potato with salad 

Meal Seven: 30 grams of casein protein, 10 egg whites with onions, capsicum and mushrooms

The character Hercules was last seen on the big screen in 1997 as the title character of the animated film of the same name. The upcoming film will also star Ian McShane, Rufus Sewell, Joseph Fiennes, Peter Mullan, John Hurt, Rebecca Ferguson, Ingrid Bolsø Berdal, Aksel Hennie, Reece Ritchie and Tobias Santelmann.