FORMER US CONGRESSMAN Anthony Weiner has been sentenced to 21 months in prison for sexting with a 15-year-old girl in a case that rocked Hillary Clinton’s campaign for the White House in the closing days of the race and may have cost her the presidency.