NEW YORK — Disgraced former congressman Anthony Weiner and his estranged wife, Hillary Clinton aide Huma Abedin, seemed more like a couple than not as they appeared briefly before a judge on Wednesday in their divorce case.

They sat side by side and chatted casually for several minutes while their lawyers met with state Supreme Court Justice Michael L. Katz before the jurist briefly took the bench. After the hearing concluded, they walked out of the courtroom and past photographers to an elevator, standing in the rear while it descended.

Abedin, who was a top aide to Clinton during her unsuccessful 2016 Democratic presidential bid, split with Weiner after he repeatedly sent sexually explicit material to other women.

Weiner, who unsuccessfully ran for mayor in 2005 and 2013, is to be sentenced this month for sending obscene material to a 15-year-old girl. As part of his plea bargain, he agreed not to appeal any sentence between 21 and 27 months.

Abedin, and Weiner walked down a long set of stairs together at the courthouse’s entrance as they left.

Weiner, a Democrat, resigned his seat in Congress in 2011.

Only subscribers are eligible to post comments. Please subscribe or login to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.