This is a petition for a writ of mandamus brought by one employed as a foreman in the public works department of the city of Quincy, who contended that under the civil service law and rules he had been illegally removed *371by the respondent. The case was argued at the bar of this court in November, 1926. The pressure of other work of the court was so great that it could not be decided before January 26, 1927. On that date the respondent appeared at the bar and offered for filing a plea in abatement, setting out that he is no longer commissioner of public works of the city of Quincy and that an official has been appointed his successor. The facts thus pleaded are conceded. At the same time the petitioner filed a motion setting forth that the respondent is no longer commissioner of public works of the city of Quincy and that one Frederick E. Tupper, on or about the first week of January, 1927, was appointed and qualified as such commissioner in place of the respondent; and that on January 13, 1927, he handed to said Tupper a request that the petitioner be reinstated to the position from which he had been removed by Cosgrove; that said Tupper has declined to make such reinstatement or to commit himself definitely as to his policy in the premises; and moving that said Tupper be substituted for said .Cosgrove as respondent.
Proceedings of this nature now may be had before the full court as well as in the trial court. G. L. c. 231, § 125. The plea in abatement must be granted, and the motion to substitute the successor in office of the respondent as respondent must be denied. All this is expressly decided in Knights v. Treasurer & Receiver General, 236 Mass. 336, where the reasons are stated at length. They need not be repeated. The original respondent was a single public officer and not a board having a continuous existence. The case at bar is distinguishable from Andrews v. Board of Registrars of Voters, 246 Mass. 572.
The petitioner also filed a motion to overrule the respondent’s bill of exceptions and praying that a final order nunc pro tune, as of a time prior to the retirement of Cosgrove from office, reinstating the petitioner in his position may be issued. The principles governing the entry of decisions nunc pro tunc are set forth with fullness in Perkins v. Perkins, 225 Mass. 392. They need not be amplified anew. It there is stated at page 396 that one function of such an order is “to prevent a failure of justice resulting, directly or indirectly from delay *372in court proceedings subsequent to a time when a judgment, order or decree ought to and would have been entered, save that the cause was pending under advisement.” That principle, however, has no application to a proceeding like the present. If the writ of mandamus ought to issue, it must run against the person named as respondent enjoining him to perform a public duty. The issuance of such a writ must in truth be at the time when finally decided by the court that it ought to issue. At such time in the case at bar the respondent Cosgrove has been stripped of all official authority and he is powerless to comply with the terms of the writ. This difficulty cannot be overcome by ordering the writ to issue as of an earlier date because he cannot perform the duty as of an earlier date, being without power to perform any duty connected with the office formerly held by him. This was the substance of the decision in Springfield v. Hampden Commissioners of Highways, 6 Pick. 501, 507, 508. The nature of the remedy here invoked distinguishes the case at bar from Fenelon v. Fenelon, 244 Mass. 14. The disposition of the plea in abatement and of the motions is without prejudice to other rights of the petitioner. The petitioner’s motions must be denied and the respondent’s plea in abatement granted.
Ordered accordingly.