Disgraced former congressman Anthony Weiner must surrender himself to authorities by Monday.

The former Democratic lawmaker from New York will serve his 21-month sentence at the Federal Medical Center in Massachusetts after pleading guilty to transferring obscene material to a 15-year-old girl.

A judge also sentenced Weiner to three years of supervised release after he gets out of prison and fined him $10,000.

Weiner has a history of sending lewd messages to women other than his estranged wife, longtime Hillary Clinton aide Huma Abedin. Abedin filed for divorce in May.

Weiner’s messages with the 15-year-old girl led the FBI to reopen its investigation into Clinton’s private email server just before the presidential election in November.