A grim Anthony Weiner shuffled silently into court Monday morning to learn his fate for sexting with an underage girl.

Sporting a blue suit and gold tie, the once-press-loving ex-congressman struggled to skirt the media scrum as he walked wordlessly into Manhattan federal court, where he faces up to 10 years in the slammer for his lewd conversations with the 15-year-old.

Earlier, Weiner also avoided the press as he sneaked out of the Union Square pad he shares with soon-to-be ex-wife Huma Abedin and their young son.

The serial sexter jumped in the back of a green Ford Escape via the building’s parking garage and sat all alone in the back — keeping his tinted windows rolled up and ignoring questions from reporters.