On a Girls’ Night Out in NYC, Sofia Vergara and Heidi Klum Get Close!

On a Girls’ Night Out in NYC (New York City), Sofia Vergara and Heidi Klum Get Close Together.

Dressed to the nines for their night at The Albies, a ceremony sponsored by George and Amal Clooney’s charity to honor advocates of justice, the judges from “America’s Got Talent” donned their finest attire for the evening.

The AGT judges attended an event honoring heroic people and social champions who have given their lives to justice at the Clooney Foundation for Justice (named after Justice Albie Sachs for his key role in eliminating apartheid in South Africa). Darren Walker, president of the Ford Foundation, co-hosted the event at the New York Public Library.

The 51-year-old ex-star of ABC’s Modern Family went for a black, sparkly strapless Nadine Merabi jumpsuit. She accessorized with a set of Lorraine Schwartz earrings.

Klum, 50, also looked amazing in a black and white mermaid-style gown by Tony Ward Couture and jewels by Lorraine Schwartz

Vergara and Joe Manganiello, 46, announced their separation after seven years of marriage, so the ladies night out comes more than three months after the announcement.

“We have made the difficult decision to divorce,” the pair told Page Six. “As two people who care deeply for one another, we respectfully request privacy as we begin this next chapter of our lives together.”

Two days after the separation was made public, Manganiello formally requested a divorce. PEOPLE have received documents showing that he gave the cause for the breakup as “irreconcilable differences” and that the date of separation was July 2. The two had a prenup, he added.

PEOPLE has learned that in a separate court filing, Vergara asked the judge to maintain the prenuptial agreement between the pair. She also asked the court to affirm that her jewelry, artwork, and “other personal effects” are rightfully hers to keep. She also listed her pre- and post-marriage earnings as assets.

In 2014, Vergara and Manganiello met during a luncheon for White House correspondents. In 2015, the happy couple wed in Palm Springs, Florida. When the actress was photographed spending her 51st birthday in Italy without him, suspicions immediately began spreading that all was not well in paradise.

A source close to the couple told PEOPLE after the divorce was finalized that Vergara and Manganiello “differ immensely in style and what they like to do, although, during the marriage, each tried to put the other’s interests ahead of their own to make it work.”