The two-month-long battle for leadership in Kirklees Council has finally ended, with Reform UK coming out on top.