This action arose out of injuries to Billie Juanita Deen and her children, David Wesley and Catherine Sue, residents of Texas, in the collision of automobile she was driving, with truck of defendant, Fruehauf Corporation, in Atoka, Oklahoma, on December 17, 1971. Billie Juanita Deen, for herself and children, plaintiffs herein, entered into a contract with appellant, Worthington, [in-tervenor] a Texas attorney, whereby he was assigned 40% of recovery in return for his agreement to represent them. Mrs. Deen’s husband, Melvin, although not named in contract or in car at time of collision, also signed the agreement.
However, plaintiffs discharged Worthing-ton before suit was filed and employed an Oklahoma lawyer. In January 1975 Worth-ington filed a Petition to Intervene in the actions, alleging the contract with Deens and seeking 40% of judgment therein.
Plaintiffs responded with a pleading entitled “Motion to Quash, Plea to Jurisdiction and Venue, and Motion to Strike”, asking that Petition in Intervention be dismissed. The motion was heard in February 1975, taken under advisement, and on July 10, 1975, an order was entered sustaining the pleading. Intervenor instituted timely appeal. On June 30, 1976, judgment was entered for plaintiffs in amount of $74,000.00, apparently as a result of settlement, and tendered into court by defendant. This Court has heretofore ordered that 40% of judgment be held by trial court pending appeal.
Intervenor first contends that trial court erred in sustaining plaintiffs’ pleading because it was improper. However, although plaintiffs entitled the pleading “Motion to Quash, Plea to Jurisdiction and Venue, and Motion to Strike”, the substance was to dismiss Petition to Intervene. In
Thom
as v.
Dawson,
“The effect of a pleading is to be determined from its substance rather than the title affixed by the pleader. An instrument denominated a motion to quash but which in reality is a demurrer is properly so treated by the trial court and will be considered in the same manner by this court on appeal.”
However, a motion to dismiss is a proper procedure for attacking petition to inter
*507
vene.
Barnett v. Bodley,
Okl.,
Intervenor next contends that trial court was required to allow his intervention. He does not argue that trial court abused its discretion. Intervention is a matter of right when petitioner claims an interest in specific property within exclusive jurisdiction of the court and the interest can be protected in no other way; otherwise intervention is within the discretion of trial courts.
Barnett v. Bodley,
supra;
Franklin
v.
Margay Oil Corporation,
Order of trial court affirmed; order of Supreme Court prohibiting disbursement of settlement vacated and cause dismissed.
