This is an appeal from a summary judgment dismissing a petition for a writ of mandate.
Section 103a of the Oakland Charter provides that if a retired fireman shall die by reason of an injury for which he was pensioned, his pension shall not cease but shall continue and shall be paid to his widow to whom he was married at the time of such injury.
Victor F. Loveland had been retired on a pension on June 1, 1938, because of an injury received on September 19, 1937, in line of duty as a lieutenant in the Oakland Fire Department. He died on December 23, 1943, and the petitioner, his widow, invoked section 103a in an application to the Board of Trustees of the Firemen’s Relief and Pension Fund. Her application was denied and she filed a petition for a writ of mandate to compel the board to grant it. An alternative writ was issued, commanding the defendants to grant the pension or show cause on April 17, 1944, why they had not done so. Thereupon defendants served and filed a notice that on April 12, 1944, they would move to dismiss the petition on the ground that the action was without merit. A general and special demurrer to the petition, filed by the respondents, was never argued but was dropped from the calendar. On April 12, which was five days before the return day on the writ, the motion was presented and submitted, and on June 23, 1944, was granted.
The motion was made “upon the ground that the action herein has no merit in that petitioner’s deceased husband, the continuance of whose pension she seeks, secured a final decree of divorce from said petitioner on January 7, 1938, approximately five years prior to his death.” An affidavit setting forth the entry of the final decree on that date accompanied the motion papers. The petitioner filed a counter-affidavit showing that on March 4, 1938, the parties had remarried. Accordingly, there was an interval of 56 days between the time of Victor’s injury on September 19, 1937 (which was over eight months after the entry of the interlocutory decree on December 31, 1936; see
Estate of Dargie,
The motion to dismiss was made under section 437c, Code of Civil Procedure, and not under any procedure prescribed *401 for mandate cases by sections 1084-1097 of that code. It is apparent that the purpose of the motion was to get before the court at the threshold a legal point which could not be raised by demurrer, and to obtain, if possible, a ruling thereon before the time arrived to answer the petition, for it was noticed for hearing and heard five days before the return day on the writ. The result of the ruling was to bring petitioner’s case to a sudden halt without a hearing on the demurrer, without the filing of a return or answer (Code Civ. Proc., § 1089) and without a hearing such as is required in mandate proceedings (Code Civ. Proc., §§ 1087, 1088, 1090, 1091, 1094).
Petitioner’s counsel state her grievance rather broadly thus: “All we ask here and now is that we be given an opportunity to present the facts which we believe will prove all our allegations.”
Section 437c provides that a motion for summary judgment may be made “In superior courts and justices’ courts of Class A and municipal courts
when an answer is filed
in an
action
to recover upon a
debt
or upon a
liquidated demand
... or to recover an
unliquidated debt or demand for a sum of money only
arising on a contract express or implied in fact or in law ... if it is claimed that there is no defense to the action or that the action has no merit. ...” (Emphasis ours.) As far as the language of the section goes, special proceedings in general, and mandate in particular, are not included. The section seems to apply, in the first place, only to
actions,
and only to such actions as are of the restricted types which the Legislature was careful to specify. The respondents contend, nevertheless, that section 437e applies in mandate. They say: “The instant proceeding is essentially a demand for a sum of money only, claimed due upon a contract within the provision of section 437c,” and further “a pension such as here involved constitutes a part of the compensation of the officer and as such is a part of his contract of employment.” In support thereof they cite
Casserly
v.
City of Oakland,
While the respondents contend that section 437c inapplicable, they did not, in this case, follow the plain provisions of that section. Their motion was heard five days before their answer was due. There was no answer on filé then, or when the court ruled, and there is none on file now. The section says the motion may be made “when an answer is filed, ’ ’ meaning, of course, that it cannot be made
until
an answer is filed. (Compare
Johnston
v. Baker,
Next it is argued by the respondents that the provisions of section 437c are made applicable by section 1109, Code of Civil Procedure, which reads: “Except as otherwise provided in this title, the provisions of part two of this code are applicable to and constitute the rules of practice in the proceedings mentioned in this title.” Section 1109 is found in the title dealing with the writs of review, mandate and prohibition, which are “special proceedings of a civil nature,” and section 437c is in part two of the code. Respondents cite numerous cases where the procedure of ordinary civil actions has been held adaptable to mandate, and that may be readily conceded. The effect and scope of section 1109 is discussed at some length in
Scott
v.
Superior Court of Los Angeles County,
There is still another reason why, in our opinion, it could
*405
not have been the legislative intent (by cross-reference or otherwise) that section 437c should apply to mandate proceedings. That section is made available only “In superior courts and justices’ courts of Class A and municipal courts.” Consequently in an original proceeding in mandate in the Supreme Court or District Court of Appeal such proceeding could not be summarily halted, while (if respondents are right) it could be in the superior court. Yet all three courts in original proceedings have coordinate and concurrent jurisdiction
(Santa Crus etc. Co.
v.
Board of Supervisors,
Section 103a of the charter provides that a fireman’s widow is not entitled to a continuation of his pension unless his death occurs “by reason of the bodily injury for which he was pensioned.” The petition alleges
inter alia
that the death was the result of such injury. The burden of proof is of course on the petitioner (16 Cal.Jur., § 67, p. 869). In their brief the respondents say “whether his death was the result of such injury is, of course, a question of fact which can only become material in the event the judgment herein is reversed. We deny that such death was the result of the said injury.” This means, of course, that the answer would raise this issue of fact. As soon as such issue of fact develops it is the court’s duty,
under the summary judgment cases,
to deny the motion for summary judgment. As said in the Walsh case,
supra,
“Thus, in passing upon a motion for summary judgment, the primary duty of the trial court is to decide whether there is an issue of fact to be tried.
If it finds one, it is then powerless to proceed further, hut must allow such issue to he tried hy a jury unless a jury trial is waived.”
(Emphasis ours.) We are, of course, mindful of the fact that in a mandate case a jury trial is discretionary. The petitioner was and is entitled to have issue joined by an answer under oath on the return of the alternative writ. (Code Civ. Proc., § 1089.) The question of the legal effect of the 56-day break in the marital status likewise could have been and can be raised by the answer
(Scott
v.
Superior Court of Los Angeles County,
In the case at bar there was a departure from those sections, the result of which was to prevent a hearing of the petitioner’s case. The affidavits filed on the motion under 437c effectively constituted “a second set Of pleadings in the action”
(Gardenswartz
v.
Equitable etc. Society, supra)
and led to the premature trial of an isolated issue. The case of
Walsh
v.
Walsh,
Whether the 56-day break in the marital status would defeat the petitioner’s claim for pension is a legal question. We are asked to decide it as long as it is up here regardless, so to speak, of how it got here. But, as we have pointed out, the question was not brought before the trial court in the proper way, it was only one of several potential issues in the case, and the petitioner was clearly entitled to have all issues, both of law and fact, tried and determined at one time and *407 according to the procedure long settled for the handling of mandate proceedings.
We are satisfied that the summary judgment procedure was never intended by the Legislature to be imported into mandate which, is itself “in the nature of a summary proceeding.”
(Private Investors
v.
Homestake Mining Co.,
The judgment of dismissal is reversed.
Nourse, P. J., and Dooling, J. pro tem., concurred.
