
119 Wn.2d 129 (1992)
830 P.2d 350
PATRICK BIGGS, Petitioner,
v.
DAVID B. VAIL, Respondent.
No. 57451-1.
The Supreme Court of Washington, En Banc.
May 21, 1992.
Paul Lindenmuth and Law Offices of Neil J. Hoff, for petitioner.
Bertha B. Fitzer and William J. Rush, for respondent.
Gary N. Bloom, Bryan P. Harnetiaux, and Daniel E. Huntington on behalf of Washington State Trial Lawyers Association, amicus curiae for petitioner.
Jeffrey I. Tilden and Barbara J. Kramer on behalf of Washington Defense Trial Lawyers, amicus curiae for respondent.
*131 ANDERSEN, J.

FACTS OF CASE
The primary issue in this case is whether attorneys' fees may be awarded pursuant to the frivolous lawsuit statute (RCW 4.84.185) when some, but not all, of the claims for relief[1] in a pleading are frivolous. We construe the statute to require a finding that the action, in its entirety, is frivolous, before fees may be awarded under the statute.
Petitioner Patrick Biggs and respondent David B. Vail, both attorneys, entered into an employment arrangement in January 1985 under which Biggs became an employee in Vail's law firm. The employment arrangement did not work out and Biggs left Vail's employment in December 1985. The present dispute then arose regarding the ownership of certain attorneys' fees which were earned by Biggs in part during his tenure as an employee of Vail.
Before he began working for Vail, Biggs, who had practiced law for some time, prepared a "Memorandum of Understanding" regarding the employment arrangement. Vail never signed the document but agreed at trial that the memorandum contained most of the terms of the employment arrangement.
The memorandum stated in part:
1. Employer [Vail] shall compensate Attorney [Biggs] by paying a minimum of ... ($2,500.00) each month ...
2. Employer shall provide Attorney a minimum of ($36,000.00) for services provided in 1985.
3. In addition to these amounts, Attorney shall be granted additional compensation from fees received from services which Attorney has provided to clients prior to employment with Employer, should fees be gained by these services. Attorney shall also be awarded additional compensation, in the form of a bonus, from any settlement or award on legal matters referred to Attorney by those other than Employer during the term of employment. Additional amounts provided as described in this paragraph shall be determined by negotiation and agreement between Employer and Attorney....
*132 Attorney Biggs brought three cases with him to the Vail law firm and worked on all three cases while serving as an employee of Vail. One of the cases was a federal civil rights action in which Biggs eventually was successful and in which he was awarded attorneys' fees.[2] Shortly after Biggs ended his employment with Vail, but before the fees were disbursed in the civil rights action, Vail filed a lien against the attorneys' fees judgment. Biggs responded by filing a lawsuit against Vail. Biggs' amended complaint contained four separate claims for relief: (1) breach of employment contract; (2) interference with business relationship; (3) wrongful withholding of wages; and (4) obstruction of a civil rights remedy.
Following a trial to the court, the trial court found in favor of Vail and against Biggs on the merits of Biggs' breach of employment contract claim. The trial court then found Biggs' other three claims to be "frivolous" and, based on this finding, awarded Vail $25,000 attorneys' fees under the frivolous lawsuit statute (RCW 4.84.185), to be paid by Biggs.
Biggs appealed to the Court of Appeals. In an unpublished opinion,[3] that court affirmed the trial court. In addition, the Court of Appeals also found Biggs' appeal to be frivolous and, based on RAP 18.9(a), awarded Vail his attorneys' fees on appeal. Chief Judge Alexander of Division Two of the Court of Appeals dissented from that part of the Court of Appeals opinion which upheld the trial court's award of attorneys' fees and from the award of attorneys' fees on appeal.
We granted Biggs' petition for review.
We reverse the trial court and the Court of Appeals with respect to the award of sanctions, both those awarded by the trial court under RCW 4.84.185 and those awarded by the Court of Appeals under RAP 18.9(a).
*133 On the contract issue, the Court of Appeals correctly held that substantial evidence supported the trial judge's interpretation of the employment agreement.[4] The trial court based its decision in large part on what it considered to be the more credible evidence presented by attorney Vail, but did not find it to have been a frivolous claim. We therefore affirm the trial court and Court of Appeals with respect to the contract issue.
Two remaining issues are dispositive of this appeal.

ISSUES
ISSUE ONE. Does the frivolous lawsuit statute, RCW 4.84.185, require a lawsuit, counterclaim, cross claim or defense to be frivolous in its entirety before sanctions may be imposed under the statute?
ISSUE TWO. Did the Court of Appeals err in awarding sanctions under RAP 18.9(a)?

DECISION

ISSUE ONE.
CONCLUSION. The lawsuit or defense, in its entirety, must be determined to be frivolous and to have been advanced without reasonable cause before an award of attorneys' fees may be made pursuant to the frivolous lawsuit statute, RCW 4.84.185.
Our consideration of this issue begins with the language of the statute itself. At the time this case was decided, the frivolous lawsuit statute, RCW 4.84.185,[5] provided:
In any civil action, the court having jurisdiction may, upon written findings by the judge that the action, counterclaim, cross-claim, third party claim, or defense was frivolous and advanced without reasonable cause, require the nonprevailing party to pay the prevailing party the reasonable expenses, including fees of attorneys, incurred in opposing such action, counterclaim, cross-claim, third party claim, or defense. This *134 determination shall be made upon motion by the prevailing party after an order of dismissal, order on summary judgment, or final judgment after trial or other final order terminating the action as to the prevailing party. In no event may such motion be filed more than thirty days after entry of the order. The judge shall consider the action, counterclaim, cross-claim, third party claim, or defense as a whole.

The provisions of this section apply unless otherwise specifically provided by statute.
(Italics ours.)
[1, 2] The frivolous lawsuit statute, RCW 4.84.185, must be interpreted in a manner that will give effect to the Legislature's intent.[6] Where the meaning of the statute is clear, we must accept the plain and unambiguous language.[7] However, if the meaning of the statute and the intent of the Legislature are not clear from the words of the statute, we may resort to extrinsic aids, such as legislative history, including the final legislative reports, to determine legislative intent.[8] While the language of the statute seems to require with some clarity that the trial judge must find the "action ... as a whole" to be frivolous and advanced without reasonable cause before attorneys' fees may be awarded to the prevailing party, this language has caused considerable confusion and is arguably ambiguous. It is instructive, therefore, in interpreting this statute to examine its legislative history.
The frivolous lawsuit statute was originally enacted in 1983.[9] The enactment provided for an award of fees when the trial judge found that an "action, counterclaim, cross claim, third party claim, or defense as a whole" (italics ours) was frivolous. However, the award of fees could not be made until after final judgment. Legislative history of that first *135 enactment shows an intent to have the statute apply to actions which, as a whole, were spite, nuisance or harassment suits. The 1983 Final Legislative Report explains it as follows:[10]
The courts in Washington are experiencing significant congestion. Such congestion might be reduced if lawsuits, claims and defenses brought solely for harassment, delay, nuisance or spite were eliminated. One method of eliminating such claims and defenses is to award attorneys' fees to the prevailing parties in frivolous and unreasonable lawsuits....
(Italics ours.)
The Washington State Bar Association supported the enactment of the frivolous lawsuit statute and filed a written endorsement with the Legislature. The language of the act was developed by a task force of Washington State Bar Association members. In its support of the task force proposal, the bar association stated:[11]
there is a clear need to discourage the abuse of the legal system which is too frequently occasioned by frivolous law suits and defenses advanced without reasonable cause. Accordingly, the Washington State Bar Association has proposed that the courts of this state be given the authority to award attorney fees and reasonable expenses to the prevailing party when, considered as a whole, suits are commenced or defenses asserted which have been found by the court to be frivolous and advanced without reasonable cause.
We believe that this proposal will relieve the courts and litigants from having to face and deal with spite lawsuits such as are brought simply to harass and harangue the other party and which obviously have no chance of success or merit.
This bill does not attempt to define the circumstance under which a case or defenses, as a whole, become "frivolous"....
(Italics ours.)
The statute was amended in 1987 to allow the award of attorneys' fees in frivolous cases that were determined upon pretrial motion.[12] Nothing in the legislative history shows *136 that the Legislature intended to change the statute to allow for attorneys' fees on a claim by claim basis. The 1987 Final Legislative Report[13] states:
The frivolous lawsuit statute is clarified to carry out its purpose and intent. A court may determine if an action was frivolous and advanced without reasonable cause upon either a pre-trial or post-trial motion by the prevailing party.
In 1991, after the events which gave rise to this lawsuit occurred, the statute was again amended.[14] The new amendment simply provides that fees may be awarded in the event that a frivolous lawsuit is voluntarily dismissed. Although this amended version of the statute does not apply to this case, the legislative history is instructive in that it also shows that the lawsuit or defense is to be considered as a whole and not on a claim by claim basis. The 1991 Final Legislative Report[15] states:
The frivolous claim statute requires the judge to consider the entire action as a whole prior to awarding attorney's fees for a frivolous action. In 1987, the Legislature amended the frivolous claim statute to allow attorney's fees to be awarded in cases which were dismissed in summary judgment proceedings. It has been suggested that the statute should be further clarified and amended to allow attorney's fees in frivolous actions which are either voluntarily or involuntarily dismissed.
(Italics ours.)
[3] Thus, the intent of the Legislature is clear. The action or lawsuit is to be interpreted as a whole. If that action as a whole, or in its entirety, is determined to be frivolous and advanced without reasonable cause, then fees and costs may be awarded to the prevailing party. Under RCW 4.84.185, the trial court is not empowered to sort through the lawsuit, search for abandoned frivolous claims and then award fees based solely on such isolated claims.
*137 [4] The frivolous lawsuit statute has a very particular purpose: that purpose is to discourage frivolous lawsuits and to compensate the targets of such lawsuits for fees and expenses incurred in fighting meritless cases. The statute is not to be used in lieu of more appropriate pretrial motions, CR 11 sanctions or complaints to the bar association. The statute provides for the nonprevailing party, not that party's attorney, to pay attorneys' fees and costs.
[5] In this case, the trial judge found three of the plaintiff's four claims to be frivolous. This determination is left to the trial court's discretion,[16] and the record supports the trial court's determination in that regard. However, the trial judge did not find the contract claim to be a frivolous claim, and indeed it was not. Thus the action as a whole cannot be deemed frivolous and attorneys' fees were therefore improperly granted.
It appears in this case that the plaintiff, an attorney, was sanctioned for what the trial court considered to be pointless contentiousness and an abusive approach to the practice of law. By reversing the sanctions in this case, we do not in any way condone Mr. Biggs' conduct. However, in order to sanction Mr. Biggs, we will not extend the reach of the statute beyond that intended by the Legislature. In this case, a pretrial motion for dismissal or judgment, CR 11 sanctions, or lawyer discipline proceedings could have been considered by the trial court as possibly being appropriate. But the language and the history of the frivolous lawsuit statute (RCW 4.84.185) are clear. The lawsuit, as a whole, that is in its entirety, must be determined to be frivolous and to have been advanced without reasonable cause before an award of attorneys' fees may be made under the statute. The trial court erred in awarding fees under the statute after having found only three of the four claims for relief in the complaint to be frivolous; the Court of Appeals erred in affirming on that issue.


*138 ISSUE TWO.
CONCLUSION. This court having reversed the trial court's ruling invoking sanctions against Mr. Biggs, it follows that Mr Biggs' appeal to the Court of Appeals cannot be denoted as frivolous, and the additional sanctions imposed by that court pursuant to RAP 18.9(a) must also be set aside.
[6] The Court of Appeals erred when it held that Mr. Biggs' appeal was frivolous and granted attorneys' fees on appeal against him on that basis. There were clearly debatable issues on appeal. These issues were whether the trial judge correctly determined the contract claim and whether the frivolous lawsuit statute, RCW 4.84.185, is to be applied on a claim by claim basis or to the action as a whole. The appeal thus was not frivolous.[17]
Affirmed in part and reversed in part.
UTTER, BRACHTENBACH, DOLLIVER, DURHAM, SMITH, and GUY, JJ., concur.
NOTES
[1]  See CR 8(a).
[2]  The verdict in the case was set aside and the case had to be retried. However, Biggs ultimately was successful in the action.
[3]  Noted at 58 Wn. App. 1036 (1990).
[4]  See, e.g., World Wide Video, Inc. v. Tukwila, 117 Wn.2d 382, 387, 816 P.2d 18 (1991), cert. denied, 112 S.Ct. 1672 (1992); Quadra Enters., Inc. v. R.A. Hanson Co., 35 Wn. App. 523, 526, 667 P.2d 1120 (1983).
[5]  The statute was amended in Laws of 1991, ch. 70, § 1. The amendment is not pertinent here and does not affect the outcome of this case.
[6]  See Cherry v. Municipality of Metro Seattle, 116 Wn.2d 794, 799, 808 P.2d 746 (1991).
[7]  Cherry, 116 Wn.2d at 799.
[8]  Cherry, 116 Wn.2d at 799; Brown v. Yakima, 116 Wn.2d 556, 562, 807 P.2d 353 (1991).
[9]  Laws of 1983, ch. 127, § 1, p. 619.
[10]  Final Legislative Report, 48th Legislature (1983), at 219 (Senate Bill 3130).
[11]  Statement of Washington State Bar Association, Senate Judiciary Committee file on Senate Bill 3130.
[12]  Laws of 1987, ch. 212, § 201, p. 775.
[13]  Final Legislative Report, 50th Legislature (1987), at 306 (Substitute Senate Bill 6048).
[14]  Laws of 1991, ch. 70, § 1, p. 418.
[15]  1991 Final Legislative Report, 52nd Legislature, at 173 (Senate Bill 5023).
[16]  See Fluke Capital & Mgt. Servs. Co. v. Richmond, 106 Wn.2d 614, 625, 724 P.2d 356 (1986); Clarke v. Equinox Holdings, Ltd., 56 Wn. App. 125, 132, 783 P.2d 82, review denied, 113 Wn.2d 1001 (1989).
[17]  See, e.g., Millers Cas. Ins. Co. v. Briggs, 100 Wn.2d 9, 15, 665 P.2d 887 (1983); Streater v. White, 26 Wn. App. 430, 434-35, 613 P.2d 187, review denied, 94 Wn.2d 1014 (1980).
