Opinion
In this case we consider the relationship between the doctrine of exhaustion of administrative remedies and judicial review under the administrative mandamus statute. (Code Civ. Proc., § 1094.5.)
Plaintiff David Knickerbocker appeals from the order sustaining a demurrer to his second amended complaint without leave to amend. 1 He asserts his causes of action are viable. For reasons different than those advanced by the defendants and accepted by the lower court, we agree that some of the causes of action cannot be maintained. The remaining causes of action are not precluded, however, and consequently a general demurrer to the entire complaint should not have been sustained. We shall therefore reverse the lower court’s order.
Factual and Procedural Background
A general demurrer admits the truth of all properly pleaded factual allegations in the complaint.
(Alcorn
v.
Anbro Engineering, Inc.
(1970)
Plaintiff commenced work as a police officer with the Stockton Police Department in March 1967. His performance had been consistently rated satisfactory or better in the intervening years and he had been repeatedly assured both expressly and by conduct of continued employment absent just cause for firing. In September 1984 plaintiff was fired by the city at the inducement of the individual defendants for “informing the Stockton Police Department of its deficiencies.” At the time he was fired, plaintiff had attained the rank of lieutenant. He challenged his firing at a City of Stockton Civil Service Commission hearing, which—following three months of testimony—ordered him reinstated at the rank of sergeant with back pay. Plaintiff did not seek review under the administrative mandamus statute of his demotion or the civil service commission’s (Commission) determination that there were grounds for disciplining him. Instead, within 100 days of the decision reinstating him at the lower rank, plaintiff filed a “claim for damages” with the City of Stockton, which was deemed rejected by operation of law on July 15, 1985. (See Gov. Code, § 905 et seq.)
The plaintiff then filed his original complaint for damages against the City of Stockton and four of its employees. Following two demurrers, the complaint crystallized its focus by the time of the second amendment to allege a violation of an implied-in-fact covenant not to fire him without good cause
(Pugh
v.
See’s Candies, Inc.
(1981)
*240 The defendants demurred to this second amended complaint on the ground the plaintiff had failed to exhaust his administrative remedies by not challenging the decision of the Commission through a writ of administrative mandamus. (Code Civ. Proc., § 1094.5.) The trial court begrudgingly accepted this argument and sustained the demurrer without leave to amend.
Discussion
While the scent of defect may permeate the complaint, defendants are simply barking up the wrong judicial tree. Under the doctrine of exhaustion of administrative remedies, “the rule is that where an administrative remedy is provided by statute, relief must be sought from the administrative body and this remedy exhausted before the courts will act.”
(Abelleira
v.
District Court of Appeal
(1941)
What defendants are really asserting is that plaintiff is barred because he failed to exhaust his
judicial
remedies. (See 3 Witkin, Cal. Procedure (3d ed. 1985) Actions, § 247, p. 276.) This variation on the theme of exhaustion can be traced to the case principally relied upon by defendants,
Westlake Community Hosp.
v.
Superior Court
(1976)
The underpinnings of this rule of exhaustion of judicial remedies, as the court’s citation to the
Hollywood Circle
case reveals, are buried in the doctrine of res judicata or that portion of it known as collateral estoppel and more recently as issue preclusion. In the cited case, the petitioner’s liquor license was revoked by the Department of Alcoholic Beverage Control and he then filed a belated appeal to Alcoholic Beverage Control Appeals Board. The board then dismissed the appeal as untimely and petitioner challenged the dismissal in a writ proceeding. The superior court denied the writ and the Court of Appeal affirmed. Thereafter, petitioner sought unsuccessfully to reopen his appeal before the board and once again sought judicial review by way of a writ application. Applying the doctrine of res judicata, the high court held that “[t]he determination in the first mandate proceeding that the dismissal of petitioner’s appeal was proper therefore bars any further inquiry into that question.”
(Hollywood Circle, Inc.
v.
Dept. of Alcoholic Beverage Control
(1961)
Defendants misread this requirement of exhaustion of judicial remedies as one for exhaustion of administrative remedies and argue that mandate proceedings are a jurisdictional prerequisite to filing a tort action for damages in all cases. Their citations to Witkin’s treatise is not helpful to their argument. The cited passages merely recount the settled principle that where administrative remedies have not been exhausted, the courts will neither permit a judicial review of the agency’s action nor an independent action to be maintained. (2 Witkin, Cal. Procedure, supra, Jurisdiction, § 69, p. 437; 3 Witkin, Cal. Procedure, supra, Actions, § 234, pp. 264-265.) But there is nothing in the treatise to suggest a writ of administrative mandamus is part of the administrative remedy and the plaintiff here exhausted his administrative remedies before the City of Stockton before he filed suit. What he failed to do was exhaust his judicial remedies. The question here is whether that failure bars his suit for damages.
Although springing from similar concerns, the two exhaustion requirements are different. Judicial exhaustion is a species of res judicata while administrative exhaustion is a fundamental rule of procedure. The first governs what may be litigated and the second the forum where the claims must first be adjudicated. One is preclusive while the other is jurisdictional. The exhaustion of administrative remedies is deemed jurisdiction *242 al because “[t]he administrative tribunal is created by law to adjudicate the issue sought to be presented to the court. The claim or ‘cause of action’ is within the special jurisdiction of the administrative tribunal, and the courts may act only to review the final administrative determination. If a court allowed a suit to be maintained prior to such final determination, it would be interfering with the subject matter jurisdiction of another tribunal. Accordingly, the exhaustion of an administrative remedy has been held jurisdictional in California.” (3 Witkin, Cal. Procedure, supra, § 234, p. 265, italics in original.)
Res judicata, on the other hand, deals with the preclusive effects of judgments in civil proceedings. It has a dual aspect. In its primary aspect the doctrine operates as a bar to the maintenance of a second suit between the same parties on the same cause of action. Its secondary aspect comes into play in situations involving a suit, not necessarily between the same parties, based upon a different cause of action. There the prior judgment is not a complete bar but it operates against the party against whom it was obtained as an estoppel or conclusive adjudication as to those issues in the second action which were actually litigated and determined in the first action.
(Henn
v.
Henn
(1980)
Part of defendants’ misapprehension springs from the remaining two cases upon which they rely. Both of these decisions speak in terms of exhaustion of administrative remedies when they mean judicial exhaustion. The first,
Interior Systems, Inc.
v.
Del E. Webb Corp.
(1981)
The second case,
Logan
v.
Southern Cal. Rapid Transit Dist.
(1982)
The same analysis applies here. Unless the administrative decision is challenged, it binds the parties on the issues litigated and if those issues are fatal to a civil suit, the plaintiff cannot state a viable cause of action.
*244
“Traditionally, collateral estoppel has been found to bar relitigation of an issue decided at a previous proceeding ‘if (1) the issue necessarily decided at the previous [proceeding] is identical to the one which is sought to be relitigated; (2) the previous [proceeding] resulted in a final judgment on the merits; and (3) the party against whom collateral estoppel is asserted was a party or in privity with a party at the prior [proceeding].’ ”
(People
v.
Sims, supra,
Plaintiff’s ripostes are equally unavailing. He first claims he “prevailed” at the Commission and thus could not be required to obtain judicial review of this favorable decision. Employing a variety of castigations, he rails against any system of justice which would force him to release the bird he holds in his hand (a sergeancy with back pay) in order to grab at the lieutenancy in the bush before being able to bring an independent action for his other damages. First, plaintiff’s premise is wrong. On his administrative writ application, the only issue before the reviewing court would be whether the Commission abused its discretion in reducing his rank to sergeant, not whether he should have been fired. Consequently, by seeking review he would not expose himself to the risk of total defeat. Second, and most importantly, the resolution by the Commission was not a victory for plaintiff; at best, it was a draw in which the Commission implicitly did not find cause for discharge but did find cause for demotion. By failing to overturn this implicit factual resolution by the Commission, plaintiff cannot maintain his causes of action against the defendants to the extent that they are inconsistent with this resolution. This is because the Commission’s resolution establishes a defense of justification for them on the face of his complaint. Thus, it does not matter (as he alternatively contends) that his *245 remedies at common law are independent of any relief the Commission might award. The question is not what damages can be awarded but what issues have been conclusively determined between the parties.
On the other hand, issue preclusion is just that; it prevents a party from relitigating an issue he fully and fairly litigated on a previous occasion.
(Harman
v.
Mono General Hospital
(1982)
The issue that was conclusively adjudicated in the earlier administrative proceeding before the Commission was that plaintilf was properly demoted to sergeant for disciplinary reasons. That adverse determination, however, is not fatal to all of plainitifFs causes of action. Some of his causes of action, it is true, seek damages for “lost wages, salary, benefits, pension and retirement . . . .” Since he was not wrongfully deprived of any of those benefits, he cannot state a cause of action for their recovery. But in other causes he seeks damages for “severe anxiety, worry, mental, physical and emotional distress” arising out of his improper firing. Although the defendant city and its employees had grounds for demoting plaintiff, the Commission did not find they had grounds to fire him. Thus, to the extent that plaintiff can prove that he suffered emotional distress from the improper firing as distinguished from that related to his proper demotion, nothing in the prior adjudication prevents him from doing so. It may well be that plaintiff will be hard put to prove those damages, but on demurrer “the question of plaintiff’s ability to prove these allegations, or the possible difficulty in making such proof does not concern the reviewing court.” (Alcorn v. Anbro Engineering, Inc, supra, 2 Cal. 3d at p.496.)
In sum, the adverse determination in the civil service hearing was not fatal to all of plaintiff’s causes of action. It is settled that it is error to sustain a demurrer without leave to amend as to the entire complaint where the defect relates only to part of the complaint and at least one count is good. 3 (5 Witkin, Cal. Procedure, supra, Pleading, § 944, p. 379.)
*246 The judgment is reversed and the cause remanded to the lower court with directions to vacate its order sustaining the demurrer without leave to amend and issue a new and different order overruling the general demurrer.
Puglia, P. J., and Carr, J., concurred.
Notes
An order sustaining a demurrer is not appealable; the appeal must be taken from the ensuing judgment of dismissal.
(Lavine
v.
Jessup
(1957)
Plaintiff filed an affidavit in opposition to the demurrer. This is entirely inappropriate, as a demurrer looks
only
to the face of the pleadings and to matters judicially noticeable and not to the evidence or other extrinsic matter. (Code Civ. Proc., § 430.30, subd. (a);
SKFFarms
v.
Superior Court
(1984)
Both the demurrer and this appeal were based solely on the doctrine of exhaustion of administrative remedies. We therefore have no occasion to determine whether, in the context of the civil service and workers’ compensation systems, there are other grounds to challenge some of the causes of action. (See, e.g.,
Cole
v.
Fair Oaks Fire Protection Dist.
(1987)
