[What you need to know to start the day: Get New York Today in your inbox.]

Anthony D. Weiner, the disgraced former New York congressman, has been released from a federal prison in Massachusetts and moved to a re-entry center in New York City to serve out the remainder of his sentence for exchanging lewd texts with a minor.

Mr. Weiner, whose sexting scandals ended his tenure in Congress and then doomed his bid for New York City mayor, is scheduled to be released on May 14, according to Federal Bureau of Prisons records. Mr. Weiner, who served his first 15 months at Federal Medical Center Devens in Ayer, Mass., was supposed to serve a 21-month sentence, but was granted an early release for good behavior.

Mr. Weiner’s lawyers declined to comment, and the Federal Bureau of Prisons did not respond to a request for comment.

Mr. Weiner is assigned to the Brooklyn re-entry field office, according to federal prison bureau records. That office oversees halfway houses throughout New York City, and records do not specify where he is living. Officials at the field office could not be reached for comment.