*203 OPINION
At stаke in this litigation are a ranch and two certificates of deposit that once belonged to Manuel Flores De Luna. The adverse litigants are members of two competing family units: De Luna’s wife and son from a 1929 ceremonial marriage, and his de facto wife and son from the late 1940s until his death in 1981. The overriding issue is whether the court erred in dismissing one litigant’s counterclaim after approving a settlement between other litigants. We hold that the court erred in dismissing the counterclaim sua sponte and therefore the judgment must be reversed.
De Luna formally married Concepcion Davila de Flores (Concepcion) in 1929, but they eventually parted ways and he then livеd with Consuelo Flores Ulloa (Consuelo) from sometime in the late-1940s until his death in 1981. De Luna fathered one male child by each of these two women: Manuel Flores Davila (Davila) was born to Concepcion in 1942, and Juan Manuel Flores Ulloa (Ulloa) was born to Consuelo in 1949.
1
It is undisputed that De Luna and Concepcion never divorced officially, and that Texas law does not recognize common-law divorce.
See Estate of Claveria v. Claveria,
In November 1979, De Luna purchased a 1434-acre ranch for $1,018,140. The sellers took a vendor’s lien and deed of trust, and De Luna placed two certificates of deposit worth $500,000 in a Del Rio bank. Twelve days later, De Luna deeded the ranch to Consuelo and instructed the bank to apply the interest earned on the CDs toward the ranch note. He also gave the bank instructions that when he died or became mentally incompetent the principal and interest were to belong to Consuelo. The gift deed to Consuelo called her “my beloved wife” and recited that she had been “a true and faithful companion throughout almost all of my life,” and that the money in the CDs was in fact “her own money which she turned over to me.” De Luna’s written instructions to the bank contained similar statements.
After De Luna became mentally incompetent in 1980, Ulloa (his son by Consuelo) was appointed guardian of his estate. De Luna died in 1981 and ultimately the guardianship of the estate was closed in 1985. The probate court was made awarе of the ranch and CDs, but Concepcion and her son Davila were not given notice of the proceedings and were unaware that De Luna had died.
In 1989 Concepcion and Davila filed two suits: one to set up an administration of assets not disposed of in the 1985 order closing the guardianship (i.e., the ranch and CDs), and the other to set aside the 1979 deed and CD transfer and recover them for Concepcion. The court appointed Davila as administrator. Consuelo and Ulloa answered the suits and challenged the court’s jurisdiction to adjudicate title to the ranch, which they said had been at issue in the earlier guardianship proceeding. During the pretrial stage of the litigation, Consuelo became mentally incompetent and in 1992 the court appointed an attorney ad litem for her at the Davilas’ request.
The Ulloas filed a statutory bill of review under Tex.PROB.Code ANN. § 31 (Vеrnon 1980) and a counterclaim which: (1) challenged the earlier appointment of Davila as administrator of De Luna’s estate, (2) challenged the court’s jurisdiction on various grounds, (3) asserted collateral estoppel, limitations, adverse possession, and laches, and (4) sought a declaratory judgment that the ranch and CDs belonged to Consuelo.
On October 17,1992 all attorneys appeared in court for a settlement conference, and the court approved a settlement between the Davilas and Consuelo’s ad litem. There was strenuous objection from the attorneys that *204 Ulloa and Consuelo had hired earlier when she was competent; they protested and opposed the settlement, by written pleading and in open court at the hearing. But the court ruled that the ad litem was entitled to act for Consuelo and that the previously retainеd attorneys were not. The court approved the settlement and then dismissed Ulloa’s counterclaim, apparently on the ground that he had no standing to pursue it because he had only an expectancy of inheriting from his mother.
Under point five, Ulloa argues that the court erred in summarily dismissing his counterclaim for declaratory judgment without hearing arguments or allowing him to present evidence. The record does show that after approving the settlemеnt the court summarily dismissed the counterclaim without giving Ulloa an opportunity to present proof in support of it. Davila had not sought dismissal of the counterclaim through any of the procedural devices provided by Tеxas law for attacking a cause of action or a litigant’s standing prior to trial. Davila filed no written motion for summary judgment, special exceptions, plea in abatement, or other motion seeking dismissal or similar relief. He simply raised the matter orally at the settlement hearing.
Because the Davilas nonsuited their claims against Ulloa, they argue that the court was therefore empowered to dismiss Ulloa’s counterclaim. Cоncerning nonsuits, rule 162 says, “Any dismissal pursuant to this rule shall not prejudice the right of an adverse party to be heard on a pending claim for affirmative relief-” Tex.R.Civ.P. 162. If Ulloa’s counterclaim had sought merely to negate the Davilas’ affirmative claims the court’s dismissal might have been correct.
See BHP Petroleum Co. v. Millard,
But the counterclaim did more than merely resist Davila’s right to recover or restate the defenses to that suit; - it sought a declaration that the Ulloas were the lawful owners of the disputed property.
See General Land Office v. OXY U.S.A., Inc.,
Under Texas procedure, onе litigant may defeat the other’s claim for affirmative relief by several methods short of trial. But the Davilas did not invoke any of the available procedures that our law provides for attacking the factual or legal sufficiency of an opposing ground of recovery or defense, or the standing of the opposing litigant to bring suit.
If a litigant can refute one or more
facts
essential to his opponent’s case, he may do so by motion for summary judgment under Tex.R.Civ.P. 166a. The rule itself requires that there be a written motion and twenty-one days’ notice, and in addition the motion must specify the grounds.
McConnell v. Southside Indep. School Dist.,
Other procedures authorize dismissal when a pleading is
legally
insufficient. If a litigant can show that the opponent’s pleading, assuming the pleaded facts are, true, does not state a legally accepted ground of recovery or defense, the court may sustain a special exception and dismiss.
See City of Round Rock v. Smith,
Our law authorizes other prеtrial dismissals of a case, but none apply to the situation before us.
See, e.g.,
Tex.R.Civ.P. 165a (dismissal for want of prosecution); Tex.R.Civ.P. 215 (abuse of discovery);
Johnson v. Lynaugh,
Here the court did not rule on the merits of Ulloa’s counterclaim; it held he had no standing, that he lacked a justiciable interest. But when a litigant asserts that his opponent lacks a justiciable interest in a controversy, he must file a written plea in abatement and obtain a ruling.
See Texas Indus. Traffic League v. Railroad Commission,
We hold that the court erred in dismissing Ulloa’s counterclaim without prior notice or motion invoking a pretrial procedure justifying dismissal. This holding requires reversal of the agreed judgment which rests on the ad litem’s settlement on behalf of Consuelo; so long as Ulloa’s counterclaim and bill of review remain unresolved, the settlement cannot stand.
Ordinarily we would discuss issues likely to arise on remand. But the record shows that since the settlement Consuelo has died, and Ulloa is now guardian of her estate. In addition, before considering another proposed settlement the court will have tо reassess the merits of the settlement in light of the changed tax considerations and the evidence presented in support of Ulloa’s counterclaim and bill of review.
We note that both guardians ad litem and the cоurts asked to approve settlements they recommend must take great care to ensure that the ward’s interests are fully protected. In particular, the court must be made aware of the facts that bear uрon the fairness of the settlement.
See Missouri-Kansas-Texas R.R. Co.,
For the reasons stated, we reverse the judgment and remand the cause for further proceеdings. We need not discuss Ulloa’s contentions that the ad litem exceeded his authority in approving the settlement, and that the evidence did not support the reasonableness of the settlement.
Notes
. Because the father and both sons have the name Manuel Flores, we will refer to them individually as De Luna (the father), Davila (the first son), and Ulloa (the second son). We will sometimes refer to Concepcion and her son Davila colleсtively as the Davilas, and to Consuelo and her son Ulloa as the Ulloas.
. As
the Austin court said in a slightly different context, "We are not aware of any power in the trial court to dismiss sua sponte, and 'with prejudice,’ a pleaded cause of action."
Dillard v. NCNB Texas Nat’l Bank,
