America’s Got Talent: Sofia Vergara declares that she’s single during flirty exchange with stand-up comedian on live show after recent shock split from husband Joe Manganiello

Sofia Vergara declared she was single after a flirty exchange with stand-up comedian Ahren Belisle on Tuesday’s live episode of America’s Got Talent on NBC.

The 51-year-old judge announced in July that she and husband Joe Manganiello, 46, had separated and planned to divorce after seven years of marriage.

Ahren, 28, who has cerebral palsy and communicates on a text-to-speech app, was accompanied by his service dog, who he says has “two primary services.”

“First he’ll get my beer for me,” Ahren said as the cute little dog then grabbed a beer can for Ahren.

‘Good boy. Now, number two, get a girlfriend,” Ahren joked as his dog sat next to him and didn’t move.

Single lady: Sofia Vergara declared she was single after a flirty exchange with stand-up comedian Ahren Belisle on Tuesday’s episode of America’s Got Talent on NBC

“You’re ruining my set, asshole,” Ahren said to the dog.

“Go get Sofia Viagra,” Ahren’s app then said, referring to the sexual impotence drug.

“I’m here,” Sofia called out in a sexy black and white animal print dress as she raised her arms. ‘I am single!’

“Oh no, damn autocorrect. I meant Sofia Vergara,’ Ahren joked.

Ahren made sure he reached his goal at the end of the routine.

‘Make funny jokes, check. Find Sofia, check. Dog walked for bonus votes, check. Perfect,” he joked before leaving the stage.

Show host Terry Crews, 55, then asked Sofia to evaluate Ahren’s performance.

“I like the way you look at life,” Sofia told the comedian. “I love that that’s what makes you so funny, that you make fun of yourself, and that you’re so happy with yourself.”

Wild clothes: The 51-year-old judge wore a wild black and white dress with an animal print

Wild clothes: The 51-year-old judge wore a wild black and white dress with an animal print

Stand-up routine: Ahren, 28, who has cerebral palsy and communicates on a text-to-speech app, was accompanied by his service dog, who he says has

Stand-up routine: Ahren, 28, who has cerebral palsy and communicates on a text-to-speech app, was accompanied by his service dog, who he says has “two primary services”

I loved it:

I loved it: “I like the way you look at life,” Sofia told the comedian. “I love that that’s what makes you so funny, that you make fun of yourself, and that you’re so happy with yourself”

New single: Sofia announced in July that she and husband Joe had separated and they both filed for divorce shortly after

New single: Sofia announced in July that she and husband Joe had separated and they both filed for divorce shortly after

Fellow judge Heidi Klum, 50, asked Sofia, “Has anyone ever called you Sofia Viagra?”

“No, but I’m single,” Sofia replied with a sly smile as the live audience at the Pasadena Civic Auditorium in Pasadena, California cheered her on.

AGT judge Howie Mandel, 67, teased Sofia about her new relationship status on last week’s live episode, where she sat at the judges’ table for the first time since breaking up with Joe.

Howie was joking as he commented on the performance of ventriloquist and magician Brynn Cummings, 12, in which he tried to find a new partner for the bunny puppet.

“If I have one piece of advice, if you’re looking for suitable singles, you should have talked to Sofia, because she’s on the market right now,” Howie joked.

Sofia immediately took to the joke, raised her arms and laughed, “Yes,” while Terry said, “No, we don’t do that here.”

Joe filed for divorce in late July citing “irreconcilable differences” and Sofia also filed her own divorce response also citing “irreconcilable differences” as the reason for the divorce.

Eleven acts performed on Monday’s episode, with viewers voting to determine which two would advance to the final.

Non-verbal comedian: 'Go get Sofia Viagra,' Ahren's app said, referring to sex impotence drug

Non-verbal comedian: ‘Go get Sofia Viagra,’ Ahren’s app said, referring to sex impotence drug

The two-hour episode opened with an energetic performance from Chioma & The Atlanta Drum Academy.

Howie hit his red X buzzer while the Sharpe Family Singers were performing, calling them corny and a “cruise ship” act.

The show’s creator and judge Simon Cowell, 63, told the family they had made a “terrible song choice” and criticized some of the “exaggerated” facial expressions.

Ukrainian gymnasts Three G redeemed themselves after a disastrous audition and pulled the trick that made them fall.

‘I feel like a proud parent that it worked out. I’m so happy for you guys, it was spectacular, thank you so much,” Heidi told the gymnasts.

Simon pressed his red X buzzer during mom Erica Coffelt’s dance routine.

Twelve-year-old singer Alfie Andrew impressed the judges with his unique rendition of the One Direction song You & I.

Dani Kerr from Statesville, North Carolina performed her original song The Truth and received mixed reviews from the judges.

Opening act: The two-hour episode opened with an energetic performance from Chioma & The Atlanta Drum Academy

Opening act: The two-hour episode opened with an energetic performance from Chioma & The Atlanta Drum Academy

Family Singers: Howie hit his red X buzzer while the Sharpe Family Singers were performing, calling them corny and a 'cruise ship' act

Family Singers: Howie hit his red X buzzer while the Sharpe Family Singers were performing, calling them corny and a ‘cruise ship’ act

Deliverance Center: Ukrainian gymnasts Three G redeemed themselves after a disastrous audition and pulled the trick that made them fall

Deliverance Center: Ukrainian gymnasts Three G redeemed themselves after a disastrous audition and pulled the trick that made them fall

Young singer: Twelve-year-old singer Alfie Andrew impressed the judges with his unique rendition of the One Direction song You & I

Young singer: Twelve-year-old singer Alfie Andrew impressed the judges with his unique rendition of the One Direction song You & I

Original song: Dani Kerr from Statesville, North Carolina performed her original song The Truth and received mixed reviews from the judges

Original song: Dani Kerr from Statesville, North Carolina performed her original song The Truth and received mixed reviews from the judges

“I am so grateful for this opportunity. I’m thankful to Statenville and my local town for being the whole reason I’m here,” Dani told Terry after her performance.

Ten-year-old magician Ryland Petty from Staffordshire, England, wowed the judges with an endearing magic routine about his loving father.

Danger act Andrew Stanton once again stunned the audience and judges by swallowing swords and performing a stunt where he risked tearing his skin.

Steel Panther rocked out to an original song that got the whole room clapping.

Murmuration, Howie’s Golden Buzzer choice, performed last and thrilled the audience with their unique unison routine that contained a message of hope.

Magic moment: Ten-year-old magician Ryland Petty from Staffordshire, England, wowed the judges with an endearing magic routine about his loving father

Magic moment: Ten-year-old magician Ryland Petty from Staffordshire, England, wowed the judges with an endearing magic routine about his loving father

Dangerous routine: Dangerous act Andrew Stanton stunned audience and judges again by swallowing swords and performing a stunt where he risked tearing his skin

Dangerous routine: Dangerous act Andrew Stanton stunned audience and judges again by swallowing swords and performing a stunt where he risked tearing his skin

Rocked out: Steel Panther rocked out on an original song that had the whole room clapping

Rocked out: Steel Panther rocked out on an original song that had the whole room clapping

Last: Murmuration, Howie's Golden Buzzer choice, performed last and thrilled the audience with their unique unison routine that contained a message of hope

Last: Murmuration, Howie’s Golden Buzzer choice, performed last and thrilled the audience with their unique unison routine that contained a message of hope

America’s Got Talent returns Wednesday with the results of the viewer’s vote.

Two of the eleven acts that performed on Tuesday will advance to the final.

Season 17 of the NBC show was won by the dance troupe Mayyas.

The winner will receive a grand prize of $1 million and a show at Luxor in Las Vegas.