The former prime minister stepped down from parliament weeks after leaving Downing Street.