The Silence of the Lambs star has signed on to play a major character in Transformers: The Last Knight.

Hopkins will join Mark Wahlberg, Isabela Moner, Jerrod Carmichael, and Josh Duhamel in the sequel, and his leading man couldn't be happier.

Announcing the casting news on Friday (03Jun16), a post on director Michael Bay's official Twitter account read: "The man, the myth, the legend - help us welcome Sir Anthony Hopkins to the #transformers universe."

The casting news comes hours after Bay announced Freya, an epileptic six-year-old Staffordshire bull terrier that was last month (May16) dubbed Britain's loneliest dog, will also appear in the fifth Transformers movie when it hits theatres in June, 2017.

The dog has spent all its six years at an animal rescue centre in Merseyside, England, and a recent article about the sad pooch in a British tabloid gave animal lover Bay an idea.

He tweeted: "Found this in the news last week in the UK. We gave the Loneliest Dog, a role in Transformers."

The director has also promised to help find Freya a home when filming has wrapped on the new blockbuster, adding she'll stay with him during the shoot.

"Freya has epilepsy and has been in a shelter her whole 6 year life," he added. "We are also going to find her a home... If not she will come to my house. Welcome to the cast Freya!"

The dog was found as a stray six-month-old puppy and taken in by carers at the dog shelter.

Spokeswoman Debbie Hughes says, "We just hope she gets a home. She is a very loving dog."