The opinion of the Court delivered March 14, 1979, is withdrawn. The following is now the opinion of the Court.
This is a mandamus action brought by William Howard Stoner wherein Willa Hudgins has intervened. Hudgins obtained judgment against Stoner in the trial court and Stoner perfected an appeal to the Court of Civil Appeals, Second Supreme Judicial District. The Court of Civil Appeals wrote three opinions, the first dated May 25,1978. Both parties filed motions for rehearing and on June 22 the court handed down its second opinion which reversed and remanded the cause for another trial, suggested a remittitur by Hudgins as a basis for reforming and affirming the trial court, and taxed all costs against Hudgins. Stoner v. Hudgins, 568 S.W.2d 898.
*845Both parties filed second motions for rehearing and Hudgins also filed, in the alternative, a remittitur. On July 27 the court handed down a third opinion entitled “Supplemental Opinion on Motion for Rehearing.” A new judgment was rendered which provided:
. the judgment of this court on June 22, 1978, which reversed and remanded the cause for another trial is set aside and vacated with judgment reforming that of the trial court as to amount substituted therefor, with attendant opinion dated June 22, 1978 left undisturbed, although supplemented by opinion dated July 27, 1978.
It is hereby ordered that no further motion for rehearing will be entertained in this cause; none may be filed.
It is further ordered that all costs incurred by reason of this appeal be taxed one-half against the appellant, William Howard Stoner, and his surety, Federal Insurance Company, and one-half against the appellee, Willa Hudgins, for which let execution issue, and that this decision be certified below for observance.
Stoner timely tendered a third motion for rehearing with three points of error complaining of the adjudging of one-half of the costs to him. The clerk refused to file the motion. Hudgins did not tender a third motion, but instead filed an application for writ of error to this Court.
Stoner now requests this Court to issue a writ of mandamus to the Honorable Frank A. Massey, Joe Spurlock and William A. Hughes, Jr., of the Court of Civil Appeals and Yvonne Palmer, Clerk, requiring them to file and rule on his third motion for rehearing. Hudgins, by way of intervention, asks that the Court of Civil Appeals be directed by mandamus to vacate that portion of the July 27 order prohibiting the entertainment or filing of third motions for rehearing. In addition, she asks that both parties be allowed to amend their respective applications for writ of error to show reference to their assignments of error as being germane to the third motions for rehearing.
The questions for this Court to decide are: (1) Does the last judgment require the filing of a third motion for rehearing in order for this Court to obtain jurisdiction of the appeal. (2) Is Stoner entitled to a writ of mandamus directing the filing and ruling of his tendered but not filed third motion for rehearing. (3) Is Hudgins entitled to a writ of mandamus directing the Court of Civil Appeals to set aside that portion of the July 27 judgment directing that no further motions for rehearing be filed and allowing her to file a third motion for rehearing within 15 days from the date of such directive.
The third judgment did require a motion for rehearing in order for the Supreme Court to have jurisdiction of an appeal. Rule 458, Tex.R.Civ.P., provides that if the Court of Civil Appeals hands down an opinion in connection with the overruling of a motion for rehearing, a further motion for rehearing may, if the losing party deems same necessary, be filed within 15 days after such opinion is handed down. This may be done as a matter of right whether or not there is any sound or reasonable basis for the conclusion that a further motion is necessary. Honeycutt v. Doss, 410 S.W.2d 772 (Tex.1966). This right must be protected because a new or further motion for rehearing is impliedly always required when a prior motion is granted and the judgment is vacated and new judgment is entered. Oil Field Haulers Association v. Railroad Commission, 381 S.W.2d 183 (Tex.1964).
By its third judgment the court vacated its prior judgment. The new judgment accepted the remittitur filed by Hud-gins and adjudged costs 50% to each party. This new judgment is the final judgment for purposes of appeal, City of West Lake Hills v. State ex rel. City of Austin, 466 S.W.2d 722 (Tex.1971), and it was necessary for the parties to file third motions for rehearing in order for this Court to obtain jurisdiction.
The order prohibiting the filing of further motions for rehearing is one which. *846the Court of Civil Appeals was not authorized to enter. The failure of a court to observe a mandatory statutory provision conferring a right or forbidding particular action will render its order or judgment invalid and this Court has the power through an exercise of its original jurisdiction to order a trial court to vacate and expunge an invalid order. State Board of Insurance v. Betts, 158 Tex. 612, 315 S.W.2d 279 (1958). This rule also applies to invalid orders of the Courts of Civil Appeals. Art. 1733, V.A.T.S.
There are three requisites to a mandamus: a legal duty to perform a nondis-cretionary act; a demand for performance and a refusal. The duty to file the motion is that of the clerk, rather than the court. Rule 458, Tex.R.Civ.P. Mandamus will issue to compel the clerk of a Court of Civil Appeals to file a motion for rehearing, Roth v. Murray, 105 Tex. 6, 141 S.W. 515 (1911), if a motion is timely presented to the clerk and filing is denied. Hursey v. Bond, 141 Tex. 337, 172 S.W.2d 305 (1943).
On July 31, Stoner mailed a letter to the clerk, with a copy to Hudgins, enclosing his third motion for rehearing and a letter brief setting out the necessity for filing a third motion for rehearing under Rule 458, Tex.R.Civ.P. On August 3 Stoner personally presented the motion to the clerk and court and filing was refused in writing. Hudgins was mailed a copy of this refusal. On August 28 Stoner and Hudgins filed applications for writ of error. Stoner assigned error to the invalid order and the clerk’s refusal to file the motion for rehearing and alternatively requested leave to file a petition for mandamus. On December 20 we granted leave to Stoner to file the petition for mandamus with leave to intervene granted to Hudgins.
On December 26 Stoner filed his petition for mandamus to require respondents to file and rule on his motion. Hudgins has not presented a third motion and it was not until January 5 that she filed her petition for mandamus in which she stated:
In obedience to this direct and unequivocal order of the Court of Civil Appeals, the Intervenor-Appellee did not file a further Motion for Rehearing, which Ap-pellee would have filed, but for said direct Order, although Intervenor-Appellee believed, and now believes, that no further Motion for Rehearing was required under Rule 458, T.R.C.P.
The order of July 27 prohibiting the entertainment or filing of further motions for rehearing is one which the Court of Civil Appeals was not authorized to enter. Petitioner Stoner is entitled to a writ of mandamus directing the clerk to file and the Court to consider his third motion for rehearing. This writ shall be issued should the Second Court of Civil Appeals and the clerk fail to act in accordance with this opinion.
The final issue we must decide is whether Hudgins should also be granted relief. While it is true that Hudgins did not attempt to file a third motion for rehearing, it would have been pointless to make such an attempt in view of the language of the last judgment of the Court of Civil Appeals. The action of the clerk in refusing to file Stoner’s third motion makes that conclusion all the more certain. We therefore hold that Hudgins is also entitled to a writ of mandamus.
It is to be stressed that this is a mandamus proceeding. We are not acting upon an application for writ of error, and we do not overrule our holdings in Oil Field Haulers Association v. Railroad Commission, 381 S.W.2d 183 (Tex.1964), or Honeycutt v. Doss, 410 S.W.2d 772 (Tex.1966), with respect to the necessity of filing motions for rehearing as a predicate for Supreme Court review. It is true that Hudgins did not file a third motion for rehearing, but this failure must be viewed in light of the language in the Court of Civil Appeals judgment denying the entertainment or filing of such motions. She should not be penalized for obeying the orders of the Court of Civil Appeals.
We hold invalid the portion of the Court of Civil Appeals judgment denying the entertainment or filing of third motions for *847rehearing. The clerk is directed to file the motion for rehearing tendered by Stoner and the Court of Civil Appeals is directed to consider and rule upon it. Hudgins has 15 days from the effective date of the judgment rendered pursuant hereto to file a motion for rehearing in the Court of Civil Appeals. Should she attempt to file such motion, the clerk is directed to allow the filing and the Court of Civil Appeals is directed to consider and rule upon same.
Dissenting Opinion by BARROW, J., joined by STEAKLEY, POPE and McGEE, JJ.Separate Dissenting Opinion by POPE, J.