delivered the opinion of the court:
This mandamus action in the circuit court of Cook County was filed on June 27, 1974, by the Board of Education of School District No. 142 (hereinafter plaintiff), against Michael J. Bakalis, who at that time was Superintendent of Public Instruction of the State of Illinois. It sought to compel him to pay to the plaintiff certain sums allegedly due to it by way of reimbursement for costs of transporting pupils to its schools. The Illinois State Board of Education was subsequently substituted as the defendant. The circuit court granted the defendant’s motion to dismiss the action, and the appeal was transferred here under Rule 302(b).
The plaintiff operates three schools located in the village of Oak Forest and in an adjacent unincorporated area. For some years it has furnished transportation to pupils attending its public schools, but has not done so for pupils attending parochial or other nonpublic schools. Section 29 — 4 of the School Code (Ill. Rev. Stat. 1973, ch. 122, par. 29 — 4) requires that any school district which elects to provide transportation for its public school pupils must also provide transportation without charge for children attending nonpublic schools. Under section 29 — 5 of the School Code (Ill. Rev. Stat. 1973, ch. 122, par. 29 — 5) a portion of the costs incurred for transporting students to public schools is reimbursed by the State.
Prior to 1969 it does not appear that any action was taken by the State to bring the plaintiff into compliance with section 29 — 4. In that year, however, Ray Page, the then Superintendent of Public Instruction, advised the plaintiff that in his opinion the failure to afford transportation to students at nonpublic schools was illegal, and he warned the plaintiff that if the situation were not corrected, the plaintiff’s status as a recognized school would be withdrawn.
A “recognized school” is defined in section 18 — 8 of the Code (Ill. Rev. Stat. 1973, ch. 122, par. 18-8), which provides:
“Any school district which fails for any given school year to maintain school as required by law, or to maintain a recognized school is not eligible to file for such school year any claim upon the common school fund. *** A ‘recognized school’ means any public school which meets the standards as established for recognition by the Superintendent of Public Instruction. ***”
The consequence to a school district of a loss of recognition is thus ineligibility not only for transportation reimbursement but for other forms of State financial aid as well. A provision virtually identical to the present section 18 — 8 has been a part of the School Code at least since its enactment in 1961. See Ill. Rev. Stat. 1961, ch. 122, par. 18-8.
In 1970 the plaintiff filed an action in the circuit court of Cook County to restrain the Superintendent of Public Instruction from withdrawing recognition or withholding any State funds. The principal basis for the action was the claim that section 29 — 4 was invalid because it violated the freedom of religion provisions of the Federal and State constitutions. On April 5, 1972, the circuit court upheld the validity of section 29 — 4, and dismissed the complaint. That judgment was affirmed on June 25, 1973, in Board of Education v. Bakalis, 54 Ill.2d 448.
It does not appear that the defendant took any action against the plaintiff until after the circuit court had rendered its decision upholding section 29 — 4. In July, 1972, when the plaintiff submitted its claim for reimbursement for transporting public school students during the school year 1971-1972, the defendant denied the claim. A year later, when the plaintiff submitted a similar claim for the school year 1972-1973, that claim was also denied. The plaintiff resubmitted each of its claims in October, 1973, and they were again denied. By this petition for mandamus the plaintiff seeks to compel reimbursement for those prior years during which it was admittedly not complying with section 29 — 4.
We are unable to perceive any basis in either logic or equity why the plaintiff should be entitled to such reimbursement. Our earlier decision resolved the question of the validity of section 29 — 4 and other provisions of the School Code adversely to the plaintiff, and thereby established that the defendant could properly withhold State funds.from the plaintiff.
The plaintiff characterizes the act of withholding transportation reimbursement as a “penalty” unlawfully imposed upon it by the defendant for failure to furnish transportation to nonpublic school pupils or for challenging the validity of section 29 — 4. In the prior suit a similar claim was made that the defendant’s threat to withdraw recognition was intended to coerce the plaintiff into abandoning its legal attack on section 29 — 4. In rejecting that claim, we stated:
“*** The Superintendent of Public Instruction concluded that plaintiff was not in compliance with section 29 — 4, and the sanction of having funds withheld was imposed, not, as suggested by plaintiff because of its refusal to comply with the legal opinion of the Superintendent of Public Instruction, but because of its violation of section 29 — 4.” 54 Ill.2d at 472.
The plaintiff argues that our prior decision could not have determined its right to reimbursement for transportation since no withholding of reimbursement had taken place at the time when suit was commenced. The defendant had, however, withheld reimbursement in July of 1972, prior to our decision on appeal, and in its brief filed on that appeal the plaintiff called that fact to our attention. Moreover, in sustaining the defendant’s power to withhold all State funds, we necessarily sustained the refusal to make specific reimbursements for which the plaintiff had failed to qualify.
We adhere to the view which we have already expressed that the withholding is not an unlawful penalty, but is simply the result of the plaintiff’s refusal to meet a requirement of eligibility established by the School Code.
The plaintiff also states that prior to our former decision it had reasonable grounds for believing that section 29 — 4 was unconstitutional since that “was an open question in Illinois and there was a sharp division of opinion in other States.” The plaintiff was of course entitled to challenge the validity of section 29 — 4, but, having failed in that challenge, the plaintiff cannot now be heard to insist upon the reimbursement to which it might have been entitled had our decision gone the other way.
The defendant also suggests that the judgment below must in any event be affirmed for the reason that those appropriations on which reimbursement would have to be drawn have now lapsed, and for the further reason that the plaintiff’s suit was one against the State in contravention of the statutory provision granting the State immunity (Ill. Rev. Stat. 1973, ch. 127, par. 801). In view of our disposition of the appeal, it is unnecessary to consider these additional contentions.
The judgment of the circuit court was correct, and it is affirmed.
Judgment affirmed.