Weiner, a former U.S. congressman from New York, was sentenced to 21 months in prison for sending obscene messages to a 15-year-old girl.