The highly anticipated ruling follows a contentious, monthslong disqualification effort spearheaded by Donald Trump.