Raheem Sterling has confirmed that his time at City has come to an end.