C.J. Miles has agreed to a two-year deal with the Cavaliers where he will compete for a spot in the starting lineup at small forward.

Miles was also pursued by the Lakers, Rockets, Bucks and Mavericks.