SOFIA Vergara has enjoyed her final night in Tampa while rocking a skintight yellow dress and posing alongside a friend.

The America's Got Talent judge took to Instagram on Monday to commemorate her final night in the southern city.

Sofia, who recently celebrated her 51st birthday in Italy, took a selfie with her friend Margarita Heilbron while the two posed in front of a wall decorated by greenery.

The Modern Family alum gave a subtle smile to the camera while showing some cleavage in a skintight yellow dress.

She rocked a neutral face of makeup and left her highlighted hair styled in loose curls.

Her friend smiled next to her while wearing a black floral shirt and a few statement accessories.

"Our last night in Tampa! Luv u @margieheilbron too many laughs!!" Sofia wrote in the caption.

Margarita also shared a photo of the duo sitting next to each other in the same outfits, which showed Sofia with more of a stunned expression as her strap fell off her shoulder.

"Soul sister!! Love u girl @sofiavergara," she wrote.

Sofia has been sharing fun moments from her time in Tampa, Florida, with followers over the past few days.

Most read in Entertainment

REUNITED DOWN SOUTH

Over the weekend, the AGT judge had fans going wild over her niece Claudia's appearance in new photos.

The actress shared a few snaps from the close-knit duo's Tampa get-together.

One pic on her Stories captured Claudia wearing no bra and a plunging pink dress exposing her bare arms and legs.

She wore her long brunette locks straight down as she sat in a chair in the living room, gazing at her feet grazing the carpet.

Another snap on Sofia's page showed the actress laughing while lounging on a couch, donning a body-hugging pink outfit.

She rocked a tight pin skirt with a matching top, again revealing her tanned skin.

The 30-year-old styled her hair in a low bun and accessorized with gold jewelry and a pink tote bag.

Sofia wrote in Spanish in her caption: "Afternoon in Tampa," with two pink heart emojis and tagged her brother's daughter.

Fans gushed in the comments over Claudia and pointed out the striking resemblance to her famous aunt.

THE DIVORCE

While Sofia seems to be in good spirits these days, news broke earlier this month that she had split from her husband, Joe Manganiello, 46, after seven years of marriage.

According to TMZ, the Magic Mike actor filed for divorce from Sofia, listing the reason as irreconcilable differences.

The U.S. Sun reported how Sofia Vergara’s love of partying was reportedly one of the factors in her split.

The True Blood hunk would often stay away from his wife when she went out in Los Angeles for parties or even have friends over for cocktail nights at their $44million Beverly Hills mansion.

Joe, who is sober, “found it challenging to be surrounded by potential temptation," according to a source.

The insider shared that Sofia and Joe experienced a “tricky past couple of years."

Some have also said that Joe's desire to have children could've also been a factor, as Sofia - who is a mother to a 31-year-old son, Manolo Gonzalez Vergara, with her ex, Joe Gonzalez - didn't want more kids.

Reportedly, Joe rarely visited his wife on the set of AGT during the live shows as well.

SHE'LL BE BACK, AMERICA

While Sofia was missing from the panel for the spinoff show AGT: All Stars, she will rejoin the show as a judge for the upcoming season - despite her recent split.

An insider exclusively told The U.S. Sun that Sofia is determined to show the world that her marital breakdown has not impacted her mood or responsibilities.

The actress will be back alongside Heidi Klum, 50, Howie Mandel, 67, and Simon Cowell, 63, for the live shows beginning on August 22.

The insider revealed: “Sofia is coming back to AGT with an outlook of positivity and happiness for the cameras.

“She wants to show the world that she is in a good place, even though the divorce is now moving forward."

The source gushed: “Sofia knows the eyes of the world will be on her for the first few weeks, but she plans to celebrate and enjoy the talented acts."

The insider also shared that Sofia is getting a lot of support from her co-hosts through the split.

ncG1vNJzZmivp6x7tbTEZqqupl6YvK57xKernqqklravucSnq2hwZ2iGcYKXaJigrF2ovKe1wGatnqqXlr%2BiedKhprCrXZi5pq3Vmp6eZZ6axG68x6irqGWklrqxrY4%3D