*136 Opinion
Introduction
Plaintiff and appellant, Rita Nelson (appellant), appeals from an order dismissing her complaint against defendant and respondent, Robert C. Nevel (respondent), after respondent’s motion for judgment on the pleadings was sustained without leave to amend.
Facts
Since the trial court rendered judgment for respondent on the pleadings, we must accept the allegations of appellant’s complaint as true, determining whether such allegations state, or can be amended to state, a cause of action. (See
Sullivan
v.
Co. of Los Angeles
(1974)
Appellant filed a complaint against respondent on September 21, 1981, and alleged two separate causes of action. The first cause of action was captioned “Breach of Implied Contract,” 1 and set forth the following facts:
Appellant lived with respondent from January 15, 1969, to February 15, 1978, when the parties separated. During the cohabitation, appellant performed housekeeping services for respondent, acted as his intimate companion, cared for their child and his child of a previous marriage, and contributed to the mutual financial well being of the parties. Appellant performed in such manner with the expectation of both parties that she would share equally in and benefit by all property, both real and personal, acquired by either party during the period of cohabitation.
Through their mutual efforts, the parties acquired a parcel of real property in the City of Lakewood (Lakewood property). Respondent took legal title in his own name. On February 15, 1978, the parties separated and respondent retained possession of the Lakewood property.
Appellant requested the court to order that the Lakewood property be sold and the proceeds be equally divided between the parties. Appellant further *137 requested that she be held harmless from all claims arising from encumbrances placed on the property by respondent.
Respondent’s answer generally denied all allegations, and stated as one of several affirmative defenses that appellant’s cause of action was barred by the two-year statute of limitations set forth in Code of Civil Procedure section 339. 2
Less than one week before trial, respondent filed a noticed motion for judgment on the pleadings. On the day of trial, the court ruled the action was barred by the two-year limitations period of section 339 and granted respondent’s motion without leave to amend. Appellant’s motion for reconsideration of the trial court’s ruling was subsequently denied and this appeal followed.
Contentions
Appellant contends the trial court abused its discretion in sustaining respondent’s motion for judgment on the pleadings without leave to amend. She urges that the nature of her complaint is based on the fiduciary relationship between respondent and herself and that she is therefore seeking only equitable relief in the form of a constructive trust. Since she seeks purely equitable relief, appellant urges that the four-year statute of limitations set forth in Code of Civil Procedure section 343 3 applies to this action and thus her lawsuit is not barred.
Respondent contends that appellant’s cause of action arises from an implied contract and, therefore, any equitable relief sought by appellant is purely ancillary to her action for breach of implied contract. Respondent argues that even if appellant’s prayer for relief could be construed as a request for an accounting, since that remedy is merely ancillary to an action to perfect rights under an implied contract, the action is barred by the two-year limitation period of Code of Civil Procedure section 339. Further, respondent asserts that even if appellant were to amend her complaint to allege the existence of a fiduciary relationship and its subsequent breach, since such allegations constitute constructive fraud, the three-year limitation *138 period of Code of Civil Procedure section 338, subdivision 4, would bar appellant’s action. 4
On appeal we must determine: (1) whether appellant can amend her complaint to plead equitable relief so that the four-year limitation period of Code of Civil Procedure section 343 will apply, and (2) whether the trial court abused its discretion in denying appellant an opportunity to amend her complaint.
Discussion
I.
Appellant’s Complaint Can Be Amended to State a Cause of Action Based in Equity.
Issues regarding the legal rights of nonmarital partners have been the subject of heated debate, legislation and litigation during the past decade. In the landmark case,
Marvin
v.
Marvin
(1976)
In her complaint, appellant alleged the Lakewood property was acquired through the mutual efforts of the parties during their cohabitation, but legal title was recorded only in respondent’s name. In the prayer of her complaint, appellant requested that the Lakewood property be sold and that she be given her interest in the property from the proceeds.
*139 In appellant’s oral argument opposing the motion for judgment on the pleadings, and in her opposing papers, appellant urged the facts pleaded in her complaint showed a fiduciary relationship between the parties which provided a basis for equitable relief. She alleged that respondent would be unjustly enriched if he were allowed to retain her interest in the Lakewood property along with his own and requested that the court order an accounting and order respondent to hold the Lakewood property for her under a constructive trust.
In order to fulfill the reasonable expectations of the parties to a nonmarital relationship, a court may, when appropriate, employ the principle of constructive trust.
(Marvin
v.
Marvin, supra,
Appellant may also request the trial court to find that a resulting trust arose in her favor on the Lakewood property. “Ordinarily, a resulting trust arises in favor of the payor of the purchase price of the property where the purchase price, or a part thereof, is paid by one person and the title is taken in the name of another. [Citations.]”
(Martin
v.
Kehl, supra,
We believe appellant can amend her complaint to plead an action based strictly in equity. Respondent might be unjustly enriched if she were not allowed to do so.
*140 II.
The Four-year Limitation Period of Code of Civil Procedure Section 343 Governs Actions Based Strictly in Equity.
“An action based strictly in equity, as where plaintiff claims an interest in property standing in the defendant’s name and acquired during the period of cohabitation and seeks to impose a . . . constructive trust, must be brought within four years.” (1 Markey, Cal. Family Law Practice and Procedure, § 1.48, p. 1-101, and cases cited within.) “[Sjection 343 of the Code of Civil Procedure providing a four-year statute of limitations applies in ‘all suits in equity not strictly of concurrent cognizance in law and equity.’”
(Pack
v.
Vartanian
(1965)
Respondent argues that appellant’s cause of action arises from an implied contract and, therefore, all equitable remedies are merely ancillary to a breach of contract action. We do not agree. The single indicia of “contract” in the complaint is the caption which reads, “Breach of Implied Contract.” Significantly, respondent himself cites cases which hold that the
nature of the right claimed,
not the form of the action, determines the applicability of the statute of limitations. (See
Vallera
v.
Vallera
(1944)
Respondent’s argument that the three-year period of Code of Civil Procedure section 338, subdivision 4, necessarily governs appellant’s action is also without merit. Appellant did not, and need not, allege that respondent breached a duty owed her based on a confidential or fiduciary relationship. As respondent points out, such allegations constitute an action for construc-
*141
live fraud.
(Day
v.
Greene
(1963)
III.
The Trial Court Abused Its Discretion in Granting Respondent’s Motion for Judgment on the Pleadings Without Allowing Appellant Leave to Amend.
Trial courts are vested with the discretion to allow amendments to pleadings “in furtherance of justice.” (Code Civ. Proc., § 473.) “That trial courts are to liberally permit such amendments, at
any
stage of the proceedings, has been established policy in this state since 1901. [Citations.]”
(Hirsa
v.
Superior Court
(1981)
The standard of review for judgment on the pleadings is the same as on judgment following sustaining of a demurrer.
(Fosgate
v.
Gonzales
(1980)
*142
Respondent withheld his objection regarding the statute of limitations until the day of trial. His delay in attacking appellant’s defective pleadings earlier by general demurrer is said to be bad practice.
(Gallagher
v.
California Pac. T. & T. Co.
(1936)
After the trial court granted respondent’s motion, appellant asked the court’s leave to amend in order to remove her cause of action from the two-year limitation period for breach of an implied contract. Denial of such relief was an abuse of the trial court’s discretion.
In a similar case, the plaintiff was allowed to amend her complaint from a claim seeking one-half the community property to a claim seeking one-half the proceeds of a joint venture.
(Vallera
v.
Vallera, supra,
64 Cal.App.2d at pp. 268, 271-272.) In both complaints the plaintiff asserted the same rights to one-half of the property. The court noted defendant was not prejudiced by the amendment because a change in plaintiff’s theory as to the kind of property interest claimed was not fundamental.
(Id.,
at p. 271; see also
Sanders
v.
Magill
(1937)
As noted earlier, in this case appellant could more specifically allege facts which demonstrate that equitable relief is required if she is allowed to amend her complaint. Inasmuch as the amendment will be based on the same general set of facts, which are within the knowledge of respondent, he will not be prejudiced by such amendment. (Vallera v. Vallera, supra, 64 Cal.App.2d at p. 271.) In the final analysis, as the court in Vallera noted, “the aims and objects of a trial are and should be to get at the truth.” (Id., at p. 272.) Appellant seeks to do no more than sharpen the issues and thus, simplify the task of the trial court.
*143 Disposition
The judgment dismissing appellant’s complaint is reversed and the case is remanded to the trial court for proceedings in accordance with this opinion.
Klein, P. J., and Lui, J., concurred.
Notes
We are concerned on this appeal only with the allegations in the appellant’s first cause of action. The issues of paternity and child support raised in the second cause of action were resolved pursuant to stipulation between the parties and are not subject to this appeal.
Code of Civil Procedure section 339 defines the time for commencing actions as follows: “Within two years: 1. An action upon a contract, obligation or liability not founded upon an instrument of writing
Code of Civil Procedure section 343 provides: “An action for relief not hereinbefore provided for must be commenced within four years after the cause of action shall have accrued.”
Code of Civil Procedure section 338, subdivision 4, defines the time for commencing actions as follows: “Within three years ... 4. An action for relief on the ground of fraud or mistake. . . .”
In
Omer
v.
Omer, supra,
The court in
Marvin
v.
Marvin, supra,
There is no presumption that a confidential relationship exists between persons who are not yet married. (See
In re Marriage of Dawley
(1976)
