When in Rome! Sofia Vergara, 44, is dressed to impress in a skintight pencil skirt as she gets to work on the set of new movie Bent in Italy

She is one of the most beautiful women in Hollywood, so it's no surprise she is pulling off killer looks on the set of her new movie.

And Sofia Vergara looked the part of seductive government agent when she was shooting redemptive thriller Bent in Civitavecchia in Rome, Italy, on Tuesday.

The actress, 44, slipped into the role with ease as she pulled off a slick look in a skintight black pencil skirt with a daring split.

Scroll down for video 

She means business! Sofia Vergara looked the part of seductive government agent when she was shooting redemptive thriller Bent in Civitavecchia in Rome, Italy, on Tuesday 

She means business! Sofia Vergara looked the part of seductive government agent when she was shooting redemptive thriller Bent in Civitavecchia in Rome, Italy, on Tuesday 

The Modern Family star teamed her sexy skirt with a matching bodycon-style top to accentuate her envy-inducing curves.

Adding to her height, the Colombian-born bombshell strutted on set in towering stiletto heels.

Sofia - who is married to hunky Magic Mike actor Joe Manganiello, 40 - wore her glossy brunette locks poker straight and accentuated her striking looks with natural make-up. 

The mother-of-one wore a serious expression as she prepared to shoot some action-packed scenes in her racy gear. 

Working it: The actress, 44, slipped into the role with ease as she pulled off a slick look in a skintight black pencil skirt with a daring split 

Working it: The actress, 44, slipped into the role with ease as she pulled off a slick look in a skintight black pencil skirt with a daring split 

Bent tells the story of a shamed detective (Karl Urban) who plans to seek revenge after he was framed. 

The Hollywood beauty, who is also working alongside Andy Garcia, is taking on the role of a ruthless agent who may or may not be on his side.  

Sofia shared a sexy picture of her carrying a gun on Instagram, appearing almost in silhouette as filming continued later that day. 

The leading lady is also making the most of her time in the country's capital as she has shared photographs of her sampling famous wine and cuisine. 

Dangerous woman: The leading lady shared a photo of her holding a gun on set on Tuesday

Dangerous woman: The leading lady shared a photo of her holding a gun on set on Tuesday

Packing a pistol: Sofia shared another picture on the set where she was liaising with co-star Karl Urban, who plays the leading male role

Packing a pistol: Sofia shared another picture on the set where she was liaising with co-star Karl Urban, who plays the leading male role

The brunette treated herself to some decadent tiramisu when she was off duty and sightseeing in Civitavecchia.

The Fading Gigolo star posted a video on Monday night where she attempted to cross a busy street in the bustling city. 

She wrote: 'All I wanted to get was more tiramisu!!'

'I have an obsession with sweets, everybody that knows me and works with me knows that one of my biggest things is to eat desserts and candy,' she told Extra in 2015.   

'I have an obsession with sweets': The Colombian-born star has confessed to loving dessert, she indulged in tiramisu on Monday

'I have an obsession with sweets': The Colombian-born star has confessed to loving dessert, she indulged in tiramisu on Monday

Eat-aly: The A-lister posed with pizzas in another Instagram picture as she continued to make the most of her time in the country's capital

Eat-aly: The A-lister posed with pizzas in another Instagram picture as she continued to make the most of her time in the country's capital

The Hot Pursuit actress credits husband Joe with helping her stay fit, despite her diet habits.

She added 'I’ve been doing more exercises now because Joe, of course, loves working out, and I understand more how important it is for health.' 

The True Blood actor has yet to join his wife for her Italian movie shoot.

Instead, Joe has been busy promoting his latest film Smurfs The Lost Village with Demi Lovato which is set to hit US cinemas on Friday.

Fitness pal: Sofia credits hunky actor husband Joe Maganiello, 40, (pictured at Vanity Fair Oscar Party in February) with inspiring her to stay fit

Fitness pal: Sofia credits hunky actor husband Joe Maganiello, 40, (pictured at Vanity Fair Oscar Party in February) with inspiring her to stay fit

The comments below have not been moderated.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

We are no longer accepting comments on this article.