Imperial Oil of North Dakota and William D. Walters, Sr., have appealed a district court order denying their motion for judgment notwithstanding the verdict or to alter and amend the judgment and from the amended judgment ordering them to pay the William Herbert Hunt Trust Estate (Hunt Trust) $984,020.61, and to pay Russell L. Kiker, Jr., and Marvin L. Kaiser $549,630.60. We affirm.
I
In 1976, Kiker, Kaiser, Walters, and Duane Peterson secretly formed a group to invest in oil and gas interests. Walters was the leader and coordinator. Purchases were to be made in Kiker’s name and profits split according to each member’s capital contribution.
On January 13, 1977, Kiker, on behalf of himself, Kaiser and Walters, purchased 20 mineral acres in Dunn County from Pete and Lillian Glovatsky, and, on the same day, leased them to Target Energies, Inc., a corporation solely owned by Kaiser, and recorded the mineral deed and lease. After oil development began in 1979, Kiker distributed 37.5 percent of the oil proceeds of the Glovat-sky minerals to himself, 37.5 percent to Imperial Oil (Walters’ assignee), and 25 percent to Kaiser. Kiker, Kaiser, and Walters each received one-third of the proceeds of the Target lease of the Glovatsky minerals.
Shortly after the Target lease of the Glo-vatsky minerals was recorded, Hunt Trust sued Kiker and Target to establish the priority of its 1972 Glovatsky lease, which had been recorded in McKenzie County, but, through inadvertence, had not been recorded in D.unn County. Because of false testimony by Kaiser, Kiker’s knowledge of the Hunt Trust lease was not imputed to Target and Kaiser, Disciplinary Bd. v. Kaiser, 484 N.W.2d 102 (N.D.1992), resulting in a holding that the Target lease was not subject to the Hunt Trust lease, Hunt Trust Estate v. Kiker, 269 N.W.2d 377 (N.D.1978).
In his October 1988 divorce trial, Kaiser admitted testifying falsely in the 1977 Hunt Trust trial. In December 1988, Kiker and Kaiser settled with Hunt Trust by each paying $305,500 and transferring their interests in the Target lease and the Glovatsky minerals to Hunt Trust.
In 1989, Hunt Trust sued Walters, Imperial Oil, Target, Kaiser and Kiker for damages and a quieting of title. Based upon a 1976 farmout agreement between Hunt Trust and Gulf Oil Corporation (Gulf), Gulfs successor, Chevron, U.S.A., Inc., joined in the action, suing Kiker, Kaiser, Walters, Imperial Oil and the Hunt Trust for damages. In April 1992, Kiker and Kaiser paid Chevron $850,-000 for dismissal of Chevron’s claims against them and for an assignment of Chevron’s claims against Walters and Imperial.
Kiker and Kaiser’s cross-claims against Hunt Trust were severed for separate trial. The jury found in favor of Kiker and Kaiser for $305,500. The trial court added attorney fees, and costs and disbursements, and judgment was entered for a total of $377,242.14. We affirmed the damage award and the costs and disbursements, but reversed the attorney fee award in Beavers v. Walters, 537 N.W.2d 653 (N.D.1995), which contains a more complete recitation of the factual and procedural background of this ease.
Upon trial of the main action, the jury returned a verdict for Hunt Trust and for Kiker and Kaiser, as assignees of Chevron’s claim, in an amount representing the total working interest income lost as a result of the Target lease being held superior to the Hunt Trust lease of the 20 Glovatsky mineral acres. Judgment was entered ordering that Hunt Trust recover $984,020.61 from Walters and Imperial Oil, and that Kiker and Kaiser, as assignees of Chevron, recover $549,630.60 from Walters and Imperial Oil. Walters and Imperial Oil appealed those parts of the judgment.
The district court had jurisdiction under Art. VI, § 8, N.D. Const., and N.D.C.C. § 27-05-06. This Court has jurisdiction under Art. VI, § 2, N.D. Const., and N.D.C.C. § 28-27-01. The appeal was timely under Rule 4(a), N.D.R.App.P.
*650II
Walters and Imperial Oil contend the trial court erred in prohibiting them from presenting evidence in support of their statute of limitations defense. Receiving and retaining royalties known to belong to another is a continuing tort. Young v. Young, 709 P.2d 1254 (Wyo.1985). The statute of limitations for a continuing tort does not begin to run until the tortious acts cease. See O’Fallon v. Pollard, 427 N.W.2d 809 (N.D.1988); 54 C.J.S. Limitation of Actions § 177 (1987). Actions based on fraud must begin within six years after the claim for relief accrued upon the aggrieved party’s discovery of the facts constituting the fraud. Westerso v. Rustad, 517 N.W.2d 404 (N.D.1994). “[A] cause of action, or claim for relief does not accrue until the aggrieved party discovers the facts which constitute the basis for its cause of action or claim for relief.” Hebron Pub. Sch. Dist. No. 13 v. United States Gypsum Co., 475 N.W.2d 120, 126 (N.D.1991). Ordinarily, a plaintiffs knowledge is a question of fact. Biesterfeld v. Asbestos Corp. of America, 467 N.W.2d 730 (N.D.1991). “[T]he issue becomes one of law if the evidence is such that reasonable minds could draw but one conclusion.” Wall v. Lewis, 393 N.W.2d 758, 761 (N.D.1986).
Walters and Imperial Oil contended at trial that Hunt Trust and Gulf should have known of Kaiser’s perjury long before Kaiser’s disclosure of it in 1988. Walters and Imperial Oil offered evidence of deeds (outside the Glovatsky chain of title) between Kiker and Kaiser to show there was a relationship between them different than they testified to in the 1977 Hunt Trust trial; evidence Gulf and Hunt Trust had the same legal counsel in 1977; evidence in a 1977 deposition, Kaiser said he had known Kiker for twelve years, he worked as a ranch hand for Kiker for five summers, he began doing legal work for Kiker in 1971, and Kiker had invested in Target two years before the Glo-vatsky lease; evidence Hunt Trust could have discovered by searching the records of properties adjacent to Glovatsky; a division order issued by Gulf in 1977 showed Kiker, Kaiser and Walters as three of seven mineral owners of one property; evidence William Herbert Hunt later said he “knew” Kiker and Kaiser “were lying back when it happened;” and evidence Hunt’s attorney was suspicious of their testimony. The proffered evidence was insufficient as a matter of law to show knowledge on the part of Hunt Trust or Gulf that Kaiser lied about his relationship with Kiker in the 1977 Hunt Trust trial. A suspicion or intuitive sense that Kaiser lied is not the discovery of “facts which constitute the basis for [a] cause of action or claim for relief.” Hebron Pub. Sch. Dist. No. 13 v. United States Gypsum Co. at 126. The trial court did not err with regard to the statute of limitations defense. The claims were not barred by the statute of limitations.
Walters and Imperial Oil made an additional argument with regard to Chevron:
“Chevron knew by August 21, 1989 that it had a potential claim, and was aware of the facts on which its claim is based as early as the fall of 1988, yet did not bring its action until September 12, 1990_ The relevant ‘discovery rule’ statute clearly provides that a plaintiff who is ignorant of his claim due to fraudulent concealment ‘may commence an action within one year from the time the cause of action is discovered by him or might have been discovered by him in the exercise of diligence ... ’ N.D.CENT.CODE § 28-01-24 (1991) (emphasis added). Chevron waited two years.”
This Court has held N.D.C.C. § 28-01-24, applies only when an action is otherwise barred by the passage of time. Phoenix Assurance Co. v. Runck, 366 N.W.2d 788 (N.D.1985). Thus, N.D.C.C. § 28-01-24, does not apply to this case.
HI
Walters and Imperial Oil contend the trial court erred in refusing to dismiss the claims of Kiker and Kaiser on the ground they were unlawfully attempting to profit from their own wrongdoing through the assignment from Chevron.
Walters and Imperial Oil contend Kiker and Kaiser cannot recover under their assignment from Chevron because N.D.C.C. § 31-11-05(8), provides: “No one can take advantage of his own wrong.” This Court has relied on that maxim in decisions holding a wrongdoer may not take advantage of his *651own wrong against the victim of his wrongdoing. See, e.g., Lizakowski v. Lizakowski, 307 N.W.2d 567 (N.D.1981); Ley v. First Nat’l Bank, 55 N.D. 227, 212 N.W. 841 (1927). The maxim is part of the “clean hands” doctrine of equity. 27 Am.Jur.2d Equity § 137 (1966). A defendant who has profited from the wrongdoing (as have Walters and Imperial Oil) is in no position to invoke the maxim. Id. § 144. A perpetrator of the same wrong' will get no relief. Id. § 138. One who purges himself of his wrongdoing will have his right to relief restored. Id. § 143.
We are not persuaded that N.D.C.C. § 31-11-05(8), precludes recovery by Kiker and Kaiser. Walters and Imperial Oil were not victims of the wrongdoing of Kiker and Kaiser; they were participants in the wrongdoing. Walters was the leader of the group. Walters and Imperial Oil profited from the wrongdoing. The judgment against Walters and Imperial Oil is based on their own wrongdoing. Kiker and Kaiser purged themselves of their wrongdoing and made amends with Hunt Trust and Chevron. Walters refused to take part in settling with Hunt Trust.
If we were to accept the arguments of Walters and Imperial Oil, wrongdoers who purge themselves of their wrongdoing and make amends with the victims of their wrongdoing would be entitled to no relief against a eo-partieipant in the wrongdoing who refused to purge himself of his wrongdoing and who would be allowed to retain the profits he received from the wrongful conduct. Wrongdoers should be encouraged to settle with their victims; stonewalling should be discouraged.
Walters and Imperial Oil contend the assignment to Kiker and Kaiser of Chevron’s claim against Walters and Imperial Oil is a subterfuge to evade N.D.C.C. § 32-38-01(3), which provides: “There is no right of contribution in favor of any tort-feasor who has intentionally (willfully or wantonly) caused or contributed to the injury or wrongful death.” The claim assigned by Chevron to Kiker and Kaiser was for harm done by Walters and Imperial Oil. The jury found that Walters and Imperial Oil “caused damages to Chevron U.S.A. as those claims are assigned to Russell L. Kiker, Jr. and Marvin L. Kaiser.” Thus, the jury verdict was based on the acts of Walters and Imperial Oil, not on a right of contribution.
The trial court did not err in refusing to dismiss the claims of Kiker and Kaiser on the ground that they were attempting to profit from their own wrongdoing.
IV
Walters and Imperial Oil contend the trial court erred in excluding the following evidence: (1) Kaiser’s parents, who owned a shoe store, gave him investment cash which they transported in Dr. Scholl’s insole boxes; (2) this Court’s opinion disciplining Kaiser, a lawyer; (3) Kiker has special boots containing a compartment for hiding cash; (4) Kiker had foreign bank accounts; (5) a settlement proposal Kaiser made in his divorce proceeding; and (6) a legal memorandum Kaiser submitted to this Court’s Disciplinary Board.
Rule 403, N.D.R.Ev., gives the trial court wide discretion to control the introduction of evidence. Lacher v. Anderson, 526 N.W.2d 108 (N.D.1994). The trial court’s determinations under Rule 403 are entitled to great deference and we will reverse on appeal only when the trial court has abused its discretion. Lacher. We conclude from our review the trial court did not abuse its discretion in excluding the evidence sought to be introduced by Walters and Imperial Oil.
V
When Chevron joined in the action and sued Kiker, Kaiser, Walters, Imperial Oil, and Hunt Trust for damages, Kiker and Kaiser cross-claimed against Hunt Trust for indemnity if Hunt Trust did not own all the claims against them when they settled with Hunt Trust for $305,500 each. Those cross-claims were severed for separate trial. The jury found Hunt Trust, in settling with Kiker and Kaiser, had warranted that Hunt Trust owned all claims against Kiker and Kaiser, and found Hunt Trust breached that warranty, resulting in damages of $305,500 to Kiker and Kaiser. Judgment was entered for that amount, plus costs, disbursements, and attorney fees. We affirmed the damage award and the costs and disbursements, but reversed the attorney fee award in Beavers v. Walters, 537 N.W.2d 653 (N.D.1995).
*652Walters and Imperial Oil contend the trial court violated their constitutional rights to due process and a jury trial by increasing Hunt Trust’s judgment against them by $305,500 based on the $805,500 awarded Kiker and Kaiser in their cross-claim against Hunt Trust. Walters and Imperial Oil contend they were not parties to the settlement between Kiker, Kaiser, and Hunt Trust or to the cross-claims severed for separate trial, and had no opportunity to protect their interests. Walters and Imperial Oil were parties to the action. Kiker and Kaiser’s cross-claims were not severed from the action; they were only tried separately. Although Walters and Imperial Oil knew the cross-claims were going to be tried separately and knew the issues involved, they did not participate in that trial or seek to participate in that trial.1
“The touchstones hereafter for an effective appeal on any proper issue should be (1) that the matter has been appropriately raised in the trial court so that the trial court can intelligently rule on it, and (2) that there be a valid appeal from the judgment.” State v. Haakenson, 213 N.W.2d 394, 399 (N.D.1973) (overruled on other grounds, State v. Himmerick, 499 N.W.2d 568, 571 (N.D.1993)). For an effective appeal on an issue, the issue must first have been “appropriately raised in the trial court so that the trial court could have ruled upon it ... otherwise, it would behoove a defendant to sit by and invite error in the hope that if he did not prevail the first time, he would prevail upon appellate review of invited error.” State v. Moore, 286 N.W.2d 274, 283 (N.D.1979), cert. denied, 446 U.S. 943, 100 S.Ct. 2170, 64 L.Ed.2d 799 (1980). Walters and Imperial Oil did not seek to participate in the trial on Kiker and Kaiser’s cross-claims. Thus, the matter was not appropriately raised in the trial court so the trial court could intelligently rule on it, and the issue has not been preserved for appellate review.
VI
The judgment is affirmed.
RALPH J. ERICKSTAD and GORDON O. HOBERG, Surrogate Judges, and MICHAEL O. McGUIRE, District Judge, concur.
RALPH J. ERICKSTAD, Surrogate Judge, MICHAEL O. McGUIRE, District Judge, and GORDON O. HOBERG, Surrogate Judge, sitting in place of LEVINE, MESCHKE and NEUMANN, JJ., disqualified.. In ruling on posttrial motions, the trial court stated:
"As stated by the plaintiff, the Hunt Trust Estate, the liability of Walters and Imperial is joint and several for the entire amount of the judgment. Section 32-38-04(1) of the North Dakota Century Code mandates that the claim against Walters and Imperial should be reduced by the greater of the amount stipulated by the release granted to Kilter and Kaiser or the amount of consideration paid for such release. All parties agreed that the offset would be determined by the Court. Since Kiker and Kaiser’s verdict resulted in them receiving a return of one half of what they paid, the Trust Estate in effect only received $305,500 from Kiker and Kaiser which the Court believes is the correct amount of the offset."