Any contest to a nomination made by primary election must be filed within 24 hours after the results of the primary election have been declared, weekends excluded, under the same conditions and on the same grounds as provided in the laws of Alabama for general elections of state and county officers and as provided in this chapter. The person whose nomination is contested under this section shall be notified of the contest in accordance with Section 17-13-83 and shall have five days after notice of the filing of the contest within which to file with the chair his or her objections and answers to such contest. Such contest shall be heard and tried by the county executive committee as to candidates for county offices and by the state committee as to candidates for all other offices; and wherever there is no county executive committee consisting of enough members to obtain a quorum, then by the state executive committee.
Ala. Code § 17-13-70 (1975)