TALLAHASSEE, Fla. (AP) — Jimbo Fisher, who coached Florida State to its third national title in 2013 and opened this season with his team ranked in the top five, is leaving to take the same job at Texas A&M.

Fisher told university President John Thrasher on Friday that he was resigning to accept Texas A&M’s offer.

“I believe Texas A&M is getting one of the best coaches in college football. We appreciate all he has done for our program and wish him and his family great success moving forward,” Thrasher said in a statement that closed days of speculation about Fisher’s future.

Fisher leaves Florida State after going 83-23 in eight seasons. Besides the national championship, he also led the Seminoles to three Atlantic Coast Conference titles and four ACC Atlantic Division crowns. He will replace Kevin Sumlin, who was fired last weekend after going 51-26 in six seasons at Texas A&M. The Houston Chronicle reported that Fisher is expected to earn between $7 million and $7.5 million over at least five years.

Fisher goes to a program that has lofty hopes amid a drought: Texas A&M last won a conference championship in 1998, when it was in the Big 12. The school’s only national title came in 1939. Texas A&M Chancellor John Sharp said after Thursday’s Board of Regents meeting that expectations were “nothing serious. We just want him to win a national championship.”

Fisher is just the fourth head coach to leave a school where he has won an AP national championship and go directly to another college job. The last to do it was Johnny Majors, who went from Pittsburgh to Tennessee in 1977.

Florida State (5-6) faces Louisiana-Monroe on Saturday and needs a win to be bowl eligible for a 36th consecutive season. Defensive line coach Odell Haggins will be the interim coach.

“President Thrasher and I have worked together through this challenging period…