Going to the Department of Motor Vehicles to get a driver's licence is one of the worst things ever.

But Hayley Atwell found a way to make her chore of getting a California licence a little more fun, thanks to some makeup and imagination.

The 33-year-old actress posed for her official photo not as herself but as her Marvel Universe character of Agent Peggy Carter.

Scroll down for video

Comical choice: Actress Hayley Atwell decided to get her driver's licence photo taken in-character as Agent Peggy Carter of the Marvel Comics universe

On Sunday, Hayley took to Twitter to share her fun choice with the world.

'So I told people I had to go to the dmv dressed as Peg. Wearing a harness, mic and Spanx. Anyone wanna see the pic?' she asked.

Hayley's next post showed the licence, with a photo that featured Peggy Carter's brown curls and 1940s-era red lipstick.

Not a normal look: When not in character, the 33-year-old British star (right, on April 20) of Agent Carter does not look exactly the same as her character (left, in 2011's Captain America)

As Agent Carter, Hayley has appeared in a wide variety of Marvel movies and television shows.

Originally a character in 2011's Captain America: The First Avenger - playing a tough love interest for the heroic Steve Rogers (Chris Evans) - Peggy has since popped up all over.

She had cameo roles in both Captain America: The Winter Soldier and the upcoming Avengers: Age Of Ultron.

Familiar: Considering that Peggy Carter has featured in most Marvel movies and TV shows over the past few years, fans would more easily recognize the character than the actress (above in February)

Peggy Carter also appeared in two episodes of the television show, Agents of SHIELD in 2014.

Following those parts, Hayley finally got the spotlight with her own series, Marvel's Agent Carter, in 2015.

Although the show received positive reviews, ABC has not yet made a decision on whether or not to renew the show for a season 2.

Either way, Peggy has not yet disappeared - her character is listed to appear in the upcoming Marvel movie, Ant-Man.