Plaintiff Cypress Semiconductor Corporation (Cypress) brought this action alleging that defendant Maxim Integrated Products, Inc. (Maxim), had misappropriated a trade secret, or was in the process of doing so, by seeking to hire away specialists in touchscreen technology, a field in which Cypress and Maxim compete. Maxim responded that it was entitled to solicit prospective employment candidates in Cypress‟s workforce and that there was no evidence it had acquired, or was seeking to acquire, any trade secret. After failing to secure temporary injunctive relief, and failing to obtain an order placing under seal evidence derived by Maxim from public sources, Cypress dismissed the action. The trial court awarded Maxim its attorney fees pursuant to Civil Code section 3426.4 (§ 3426.4), which authorizes such an award to the prevailing party where a claim for misappropriation of trade secrets is found to have been made in bad faith. Cypress contends that this was error because the trial court could not properly find that Maxim was the prevailing party, or that Cypress brought the action in bad faith. We have concluded that (1) the trial court‟s findings are free of procedural error; (2) the finding of bad faith is amply supported by evidence that defendants did no more, and Cypress accused them of no more, than attempting to recruit the employees of a competitor, which Maxim was entitled to do under the laws of this state; and (3) Maxim prevailed when, as the trial court impliedly found on substantial evidence, Cypress dismissed the suit to avoid an adverse determination on the merits. Accordingly, we will affirm the judgment.