Think the latest flick about King Arthur drew inspiration only from the legendary figure of the Dark Ages? Think again. Lead actor Charlie Hunnam recently explained some of his inspiration for the character came from a much more contemporary source.

The action star told Entertainment Weekly (via TMZ) that none other than MMA superstar Conor McGregor.

“Conor McGregor was somebody that I drew a lot of inspiration from and that Guy and I discussed a lot,” he added to Entertainment Weekly.

McGregor is known for not only his striking prowess but also for his mental fortitude. For a guy that talks a big game, the Irishman has thus far backed it up inside the Octagon. Hunnam added that McGregor’s mentality when facing some of the best fighters in MMA history was a big focal point for creating the latest incarnation of King Arthur.

“I was playing Arthur, I thought an enormous amount about Conor McGregor, the reigning lightweight champion of the Ultimate Fighting Championship,” Hunnam told RedBulletin.com. “His attitude is: ‘There is no opponent. I am fighting myself in the octagon. It’s only me and my own fears and the execution of my own ability that is going to win or lose a fight for me.'”

Want to see “The Notorious” King Arthur in action? Check out King Arthur: Legend of the Sword which is directed by Guy Ritchie and features Hunnam, Astrid Bergès-Frisbey and Jude Law. The feature film just dropped into theaters this weekend.