A former WVU men’s basketball coach is in line to become the next head coach of the Cleveland Cavaliers.

Current Michigan men’s basketball coach John Beilein has agreed to a five-year contract with the Cavs, a deal first reported Monday by ESPN. 

Beilein coached at WVU from 2003-2007 before taking over the program at Michigan. He’s the fifth-winningest head coach in West Virginia history with 104 victories, and he led the Mountaineers to the Elite Eight in 2005. 

Beilein will join his former player Mike Gansey in Cleveland. Gansey is the Cavaliers assistant general manager, and he played for Beilein at WVU for two seasons.