Todd Graham resigned as the University of Hawaii’s football coach Friday, stepping down amid controversy after completing the second year of a five-year contract.

Graham resigned a week after former players and some parents testified before a state legislative hearing, criticizing the coach's management style and relationships with players. More than a dozen players have entered the transfer portal.

Graham gave up a $1,275,000 buyout by resigning. Assistant Jaocb Yoro will serve as interim head coach while the school searches for a replacement.

"After much prayer and reflection with my family, I have come to the conclusion that I will step away as head coach of the Rainbow Warriors, with a very heavy heart," Graham said in a statement released by the university. "I want to give my thanks and appreciation to the players, staff and coaches who persevered through all the challenges of 2020 and 2021. It wasn’t easy, but they all fought the good fight and we did things the right way.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

Hawaii Rainbow Warriors head coach Todd Graham walks off the field during a college football game between the Hawaii Rainbow Warriors and the Oregon State Beavers on September 11, 2021 at Reser Stadium in Corvallis, Oregon.

Hawaii Rainbow Warriors head coach Todd Graham walks off the field during a college football game between the Hawaii Rainbow Warriors and the Oregon State Beavers on September 11, 2021 at Reser Stadium in Corvallis, Oregon. (Brian Murphy/Icon Sportswire via Getty Images)

"Our staff poured our hearts and souls into our players and truly made a difference in their lives. I could not have asked more of their commitment, work ethic and love for our players and football program. But it is clear to me that I must step away and do what is best for me and my family and my health. I honor, value and love all of my players and coaches and I wish you the very best. The University has not asked me to step down. I am leaving solely for my family and my health. We have laid a strong foundation for future success, and I will always be cheering you on!"

The 57-year-old Graham led Hawaii to a 6-7 overall record this season and 4-7 mark in the Mountain West after going 5-4 overall and 4-4 in the conference in his first season. He previously was a head coach at Rice, Tulsa, Pittsburgh and Arizona State.

"Todd informed me of his decision to resign," athletic director David Matlin said in a statement. "We enjoyed many successes under his leadership even as he faced pandemic conditions, the withdrawal of Aloha Stadium, and the prohibition of any fans for nearly all his time with us.

"Todd’s tireless efforts as a coach have made a positive impact on many student-athletes. We have talked at length, and it is clear he has taken this action so that the football program can thrive moving forward."