delivered the opinion of the court:
The plaintiff, the office of the Lake County State’s Attorney (the State’s Attorney), appeals the dismissal of its complaint for an order of prohibition and declaratory judgment against the defendants, the Illinois Human Rights Commission (the Commission) and former Lake County Assistant State’s Attorney Marian McElroy (McElroy).
McElroy was suspended from her job as an assistant State’s Attorney in Lake County in December 1985 and was discharged on January 3, 1986. On December 18, 1985, McElroy filed a discrimination charge against the State’s Attorney with the Department of Human Rights (the Department). The State’s Attorney’s motion to dismiss McElroy’s complaint for lack of jurisdiction was denied by the Department.
The Department later found insufficient evidence of discrimination and dismissed the charge. McElroy’s motion to reconsider was granted, however, and, in October 1988, the Department filed a complaint against the State’s Attorney with the Commission charging that the State’s Attorney discriminated against McElroy and suspended and discharged her in violation of the Illinois Human Rights Act (the Act) (Ill. Rev. Stat. 1987, ch. 68, par. 1—101 et seq.).
The complaint alleged McElroy was being discriminated against because of her race and sex. It charged she was not given the same number of trial opportunities as similarly situated white male employees; that the State’s Attorney informed her that she “was not fitting in with the boys because she did not go out drinking with the boys and that she was not bubbly like another black female attorney”; and that she was not promoted to the position of principal assistant State’s Attorney because of her lack of experience. The complaint further charged that the State’s Attorney’s stated reason for suspending McElroy was because she ignored the policies and objectives of the office in negotiating criminal cases and for being insubordinate to her supervisor.
On December 28, 1988, the State’s Attorney filed the instant complaint in the circuit court of Lake County for an order of prohibition and declaratory judgment against the Commission and McElroy. The complaint alleged that the Commission and its hearing officer were without jurisdiction and beyond their legitimate authority to adjudicate the allegations of the complaint filed by the Department setting forth McElroy’s grievance. It prayed for an order of prohibition commanding the Commission to refrain and desist in any further proceedings with regard to the Department’s complaint and for issuance of an order to show cause why an order of prohibition should not be issued against the Commission. The State’s Attorney’s complaint further asked for a declaration that assistant State’s Attorneys are not “employees” and that the office of the Lake County State’s Attorney is not an “employer” or “person” as defined in the Act.
The State’s Attorney also filed a motion to dismiss with the Commission on December 31, 1988, claiming the Commission had no jurisdiction over the complaint filed by the Department. As far as may be determined from the record before us, proceedings before the Commission were not stayed pending the instant cause.
In response to the State’s Attorney’s instant complaint for an order of prohibition and declaratory judgment, the Commission, represented by the Attorney General’s office, filed a motion to dismiss for lack of jurisdiction pursuant to section 2 — 619 of the Civil Practice Law, and McElroy adopted this motion as her own as well. (Ill. Rev. Stat. 1987, ch. 110, par. 2—619(a)(1).) The trial court granted the defendants’ motions to dismiss. It found the Human Rights Act was the exclusive remedy for alleged human rights violations and that the State’s Attorney must first exhaust the available administrative remedies. The court struck and dismissed the State’s Attorney’s complaint, and this appeal followed.
The State’s Attorney argues the trial court was vested with juris-, diction to consider the scope of the Commission’s authority and that it erred in dismissing the complaint for an order of prohibition and declaratory judgment. He also argues the merits of the question of whether the Commission has jurisdiction to adjudicate McElroy’s charges and concludes that it does not based (1) on public policy grounds which mandate that he be allowed to implement his unique discretionary prosecutorial policies through assistants who are absolutely loyal to the broad objectives chosen by him; and (2) on the fact that assistant State’s Attorneys are not “employees” and that he is not an “employer” or “person” as those terms are defined in the Act (Ill. Rev. Stat. 1987, ch. 68, pars. 2—101(A), (B), 1—103(B)).
McElroy argues the Commission has jurisdiction to adjudicate her discrimination complaint because the State’s Attorney — having prosecutorial powers and being part of the executive branch of the State of Illinois government — is an “employer” -within the meaning of the Act and that she — not being a supervisor or deputy interfacing directly with the State’s Attorney — is not a member of an elected public official’s “immediate personal staff” and, thus, is an “employee” included within the Act’s protection. McElroy also argues the trial court did not err in granting her motion to dismiss because the State’s Attorney did not exhaust his administrative remedies and, further, no order of prohibition could issue because the Commission is not of “inferior” jurisdiction to the circuit court.
The Commission argues the trial court’s dismissal was proper since exclusive jurisdiction of civil rights violations is vested in the Department and the Commission which are charged with the administration of the Act, the exclusive remedy for such violations, and because the State’s Attorney failed to exhaust his administrative remedies.
For the reasons stated below, we find the trial court erred in dismissing the State’s Attorney’s complaint for an order of prohibition and declaratory judgment.
The defendants’ motions to dismiss were filed pursuant to section 2 — 619 of the Civil Practice Law. (Ill. Rev. Stat. 1987, ch. 110, par. 2 — 619(a)(1).) Such a motion alleges that the court does not have jurisdiction over the subject matter of the action. “Subject matter jurisdiction” is the power to hear and determine causes of the general class of cases to which the particular case belongs. (Newkirk v. Bigard (1985),
The sole issue raised in this appeal is whether the circuit court erred in dismissing — thereby effectively denying — the State’s Attorney’s complaint for an order of prohibition and declaratory judgment.
Preliminarily, we note that the purpose of a writ of prohibition is to prevent judicial or quasi-judicial action that would be taken without jurisdiction or that would be beyond the scope of legitimate jurisdictional authority. (People ex rel. Foreman v. Nash (1987),
“For a writ of prohibition to be issued, the action to be prohibited must be judicial or quasi-judicial in nature; the jurisdiction of the tribunal against which the writ is sought must be inferior to that of the issuing court; the action to be prohibited must be either outside the tribunal’s jurisdiction or, if within its jurisdiction, beyond its legitimate authority; and the petitioner must be without any other adequate remedy.”
As to declaratory judgmént, such a proceeding may be employed alone or in combination with other remedies to determine questions as to the construction or interpretation of statutes and is an appropriate method for determining controversies relating to such construction (Ill. Rev. Stat. 1987, ch. 110, par. 2—701(a); Farm to Market Truckers Association, Inc. v. Perrine (1959),
Generally, of course, it is well established that administrative remedies must first be exhausted before equitable relief is sought from the courts. (Castaneda v. Illinois Human Rights Comm’n (1989),
“(1) [I]t allows full development of the facts before the agency; (2) it allows the agency an opportunity to utilize its expertise; and (3) the aggrieved party may succeed before the agency, rendering judicial review unnecessary.”
It is equally well established that “[a]ny power or authority claimed by an administrative agency must find its source within the provisions of the statute by which the agency was created.” (Mitee Racers, Inc. v. Carnival-Amusement Safety Board (1987),
The exhaustion of remedies doctrine does not preclude a challenge to the jurisdiction of the administrative agency, however. (Board of Education of Warren Township High School District 121 v. Warren Township High School Federation of Teachers, Local 504 (1989),
The issue raised by the State's Attorney with respect to whether he is an “employer” or “person” or whether McElroy is an “employee” as defined in the Act presents just such an attack on the Commission’s jurisdiction, and, consequently, he was not required to exhaust his administrative remedies before seeking relief in the circuit court. (County of Kane v. Carlson (1986),
The exhaustion doctrine did not preclude the circuit court’s jurisdiction to consider the State’s Attorney’s complaint because the State’s Attorney was not seeking review of any decision made by the Commission, nor was it seeking to circumvent the Act — which is the exclusive source of redress for alleged human rights violations (Mein v. Masonite Corp. (1985),
As the State’s Attorney points out, a writ of prohibition is tailor-made to challenge and prevent an inferior tribunal from adjudicating matters which are either not under its jurisdiction or, if within its jurisdiction, beyond its legitimate authority. Such a writ was ordered to be entered in Board of Trustees of the Police Pension Fund v. Illinois Human Rights Comm’n (1986),
Noting that the Commission generally had subject matter jurisdiction over the handicap discrimination complaint under the Act, the reviewing court found an exception to the Commission’s exclusive jurisdiction over the alleged discrimination was “otherwise provided by law” in the Illinois Pension Code (Ill. Rev. Stat. 1985, ch. 108½, par. 1—101 et seq), and, thus, adjudication of the complainant’s discrimination claim was beyond the Commission’s legitimate jurisdictional authority. The Illinois Pension Code gave the police pension board the exclusive power and duty to manage the pension fund. That exclusive power necessarily required it to consider an applicant’s medical condition since an application to participate in the fund could be denied due to an applicant’s medical problems. The court agreed that an order of prohibition is available to prevent action by an agency with regard to a topic or a subject matter regarding which the legislature has vested exclusive authority in another tribunal. Urbana,
As the Commission here points out, the exception to the Act’s exclusivity which was carved out in Urbana has been construed to be a narrow one. (See Village of Bellwood Board of Fire & Police Commissioners v. Human Rights Comm’n (1989),
In sum, we conclude the circuit court of Lake County had subject matter jurisdiction to consider the State’s Attorney’s complaint for an order of prohibition and declaratory judgment. Accordingly, the judgment of the circuit court of Lake County is reversed, and the cause is remanded to the circuit court of Lake County for further proceedings.
Reversed and remanded.
DUNN and McLAREN, JJ., concur.
