OMAHA, Neb. -- Nebraska has lured Colorado State’s Tim Miles to Lincoln to take over its men’s basketball team.

Colorado State athletic director Jack Graham announced Friday night that Miles had resigned so he could take the job with the Cornhuskers. Miles, who toured Nebraska’s facilities on Friday, will be introduced at a news conference on Saturday.

The 45-year-old Miles, who replaces Doc Sadler, just finished his fifth year at Colorado State. He coached the Rams to a 20-12 record this season and their first NCAA tournament appearance since 2003. They lost to Murray State 58-41 in their tournament opener.

Miles will take over a struggling Nebraska program that hasn’t won a share of a conference championship since 1950 or played in the NCAA tournament since 1998. The Huskers have never won a game in six NCAA appearances.

Messages were left seeking comment from Miles and Nebraska associate athletic director for basketball Marc Boehm.

Sadler was at Nebraska for six years. He was fired March 9 after the Huskers went 12-18 and tied for last with Penn State in its first season in the Big Ten.

Boehm said two weeks ago that he and athletic director Tom Osborne were looking to hire a proven program builder.

Colorado State improved in each of Miles’ five seasons. The Rams went from 7-25 his first year to 9-22, 16-16, 19-13 and 20-12.

The 2010-11 season marked CSU’s first winning record in seven years, and its nine conference wins were its most since the Mountain West formed in 1999-2000.

Miles signed a three-year contract extension last May that runs through 2015-16. He earned $585,000 this season and was set to be paid $750,000 in 2012-13.

Ohio’s John Groce, the hottest mid-major coach after leading the Bobcats to the NCAA regional semifinals, and Oregon’s Dana Altman, who grew up in Nebraska and coached at Creighton in Omaha, also had been mentioned as possible candidates.