The legal battle for four Glencoe High School students is over, after they reached an agreement with the Oklahoma Secondary School Activities Association to allow them to play on the basketball team.