Sadly, this case is illustrative of the changing mores of a society that, with increasing frequency, feels no obligation to honor its agreements. Greg Anderson and Daniel Graeber, owners of all of the stock of Bowlerama, Inc., seek here to renege on their promise and recover back an agreed commission paid upon the sale of their bowling alley.
*1379Appellant sued Woodside Realty and Ronald M. Swearingen to recover a real estate commission in the sum of $61,000, claiming technical violation of the Wyoming Real Estate License Act of 1971, Section 33-28-114(b), W.S.1977. This appeal is from summary judgment in favor of Wood-side Realty and Swearingen.
Appellant states the issues as:
“I. Whether the district court erred in denying appellant’s motion for summary judgment.
“A. Whether appellees violated the Wyoming Real Estate License Act, W.S. § 33-28-101 et. seq.
“B. Whether appellant is barred from recovery on equitable grounds.
“II. Whether the district court erred in granting appellees’ motion for summary judgment.”
We affirm.
FACTS
Greg Anderson and Dan Graeber had been trying, without success, for more than three years to sell their bowling alley located in Cheyenne, Wyoming. Anderson and Graeber contacted a close friend, Bud Shafter of Denver, Colorado, who was the general manager of four bowling alleys and knowledgeable in the bowling alley business, to seek help in selling their bowling alley. Shafter suggested a Colorado realtor, Ronald Swearingen, who had been active in offering Colorado bowling alleys for sale and who had been dealing with several prospective purchasers. The four men met on April 15, 1983, in Ft. Collins, Colorado and discussed the potential sale. Swearingen informed appellant that he was not licensed in Wyoming and would have to associate with a Wyoming broker. Following the meeting, Swearingen contacted Eileen Proffit of Uinta Realty in Evanston, Wyoming who, with the approval of her broker, agreed to associate as resident broker. On April 18, 1983, Anderson and Swearingen met in Denver, and an interim agreement was prepared and sent to Grae-ber. Swearingen then prepared a listing agreement on a Wyoming exclusive listing form, circulated it to the co-owners and their Cheyenne attorney, then mailed it to Uinta Realty for execution. Proffit and her broker executed the agreement on June 1, 1983. Graeber initially denied that he was aware that a Wyoming broker, Uinta Realty, had been associated. He conceded, however, at the end of his deposition, that he knew of the Wyoming broker’s association, stating:
“In my own mind, after seeing all the documents and going through all this testimony, I think that Uinta Realty was probably typed on the first initial agreement that I signed.”
The listing agreement provided for a broker’s fee of 8% of the selling price with a referral fee of 90% of the total commission to be paid to Swearingen and Woodside Realty.
After the listing agreement was executed, Swearingen contacted John Mason, a prospective purchaser with whom he had been working and who was interested in purchasing a bowling alley, and advised him concerning the availability of Bowlera-ma. Mason asked to deal directly with the sellers and was assured that would be alright. Thereafter, negotiations for the sale were had between Mason, appellants, their Cheyenne attorney, and their accountants. Swearingen was in contact with the parties by phone from his Colorado office and visited Wyoming a couple of times concerning the sale.
Within three months the parties concluded an agreement for the sale and purchase of Bowlerama and delivered an earnest money check in the amount of $10,000 to Swearingen’s Denver office. Uinta Realty was advised of the transaction. Swearin-gen came to Cheyenne for the closing at the request of appellant’s Cheyenne attorney. He prepared settlement sheets for the closing, renegotiated his commission, reducing it from $108,000 to $61,000, and received from Mr. Graeber a commission check in the amount of $61,000. Swearin-gen deposited the check and forwarded $4,000 to Uinta Realty as its share of the commission. The sale was concluded. The parties were satisfied. Each received what they bargained for. There was no claim of *1380fraud, dishonesty, deceit or overreaching. Almost two and one-half years after the sale was concluded, Graeber was informed by a lady who worked for the Wyoming Real Estate Commission that he might be able to recover back the commission he had paid and that he should talk to attorney Riske, who, six months later, filed this lawsuit to recover back the commission paid. There was no factual dispute. The trial court denied recovery back of the commission, granting Swearingen and Woodside Realty summary judgment.
Summary judgment is only appropriate on a dual finding that there is no genuine issue of material fact and that the prevailing party is entitled to judgment as a matter of law. Hurst v. State, Wyo., 698 P.2d 1130 (1985). The record on appeal must be viewed most favorably to the party opposing the motion, giving to him all favorable inferences that may be reasonably drawn from the record. Olson v. A.H. Robins Co., Inc., Wyo., 696 P.2d 1294 (1985). Summary judgment is not appropriate when material issues of fact exist. Siebken v. Town of Wheatland, Wyo., 700 P.2d 1236 (1985). A fact is material if it would establish or refute one of the essential elements of a cause of action or defense asserted by either party. Schepps v. Howe, Wyo., 665 P.2d 504 (1983).
The Wyoming Real Estate License Act of 1971, as amended in 1983, governs disposition of this case. The act provides that persons engaged in the business of a real estate broker, associate broker or salesman must be licensed. Section 33-28-101, W.S. 1977. Any person performing any part of a real estate transaction for consideration is deemed a broker, associate broker or salesman. Section 33-28-104, W.S.1977. The statute defines a “broker” as
“an individual, other than a salesman, or associate broker who, for another and for compensation:
* # * * * *
“(C) Negotiates, offers, attempts or agrees to negotiate the sale, exchange, purchase, rental or leasing of real estate;
* * * * * *
“(K) Assists or directs in the procuring of prospects calculated to result in the sale, exchange, lease or rental of real estate; or
“(M) Assists or directs in the negotiation of any transaction calculated or intended to result in the sale, exchange, lease or rental of real estate.” Section 33-28-102(a)(iii), W.S.1977.
Clearly, Swearingen, acting as a broker in procuring prospects and being licensed in the state of Colorado, was a nonresident broker.
With respect to a nonresident broker licensed in another state, as was Swearingen in this case, § 33-28-110(a), W.S.1977, provides that
“[i]t is unlawful for any licensed broker to compensate any person who is not a licensed broker, associate broker or salesman for performing any of the acts regulated by this act [§§ 33-28-101 through 33-28-206]; provided, however, that a licensed broker may pay a commission to a licensed broker of another state if the nonresident broker does not conduct in this state any of the negotiations for which a commission is paid.” (Emphasis added.)
With respect to civil liability, § 33-28-114(b), W.S.1977, provides:
“If any person receives any money or the equivalent thereof as a fee, commission, compensation or profit by or in consequence of a violation of any provision of this act [§§ 33-28-101 through 33-28-206], he shall, in addition, be liable to a penalty of not less than the amount of the sum of money so received and not more than three (3) times the sum so received as may be determined by the court, which penalty may be recovered in a court of competent jurisdiction by any person aggrieved.” (Emphasis added.)
Although not raised by the parties, it seems to us that any claim for recovery of the share of the commission paid reposes with the aggrieved person, who in this case must be the licensed Wyoming broker (Uin-ta Realty). If the nonresident broker (Ronald Swearingen) conducted negotiations in the state of Wyoming, he may not have *1381been entitled to receive a share of the commission. But Uinta Realty, the aggrieved person, does not assert that claim. It does not seem that appellant, under the provisions of § 33-28-114(b), W.S.1977, is an aggrieved person who can recover the penalty provided. The listing agreement was with a Wyoming broker. A nonresident broker was involved. A buyer was produced, the bowling alley was sold, the services were rendered, and appellant became obligated to pay the agreed commission. Appellant received what it bargained for. Appellant paid for the services of the real estate broker and, under the statute, may not qualify as an aggrieved person.
Appellant nevertheless asserts that it is an aggrieved person under the statute, that appellee Swearingen violated the Wyoming statute by conducting negotiations in Wyoming without being licensed in Wyoming and, as a result, appellant should recover back the $61,000 commission already paid. Even if we assume that appellant was an aggrieved person under the statute, we conclude that the trial court, nevertheless, was correct in denying appellant’s claim to recover the commission.
Section 33-28-110(a), W.S.1977, permits a broker licensed in another state to associate with a Wyoming broker in order to receive a commission, provided (1) he is licensed in another state, and (2) he does not conduct negotiations in Wyoming. It is undisputed that Swearingen was licensed in Colorado, that he affiliated himself with a Wyoming broker, and that the Wyoming broker executed the exclusive listing agreement.
The critical question then becomes whether Swearingen conducted negotiations in Wyoming. The trial court found that he did not. Swearingen said he did not. And Graeber, testifying in his deposition, said Swearingen was not involved in the negotiations. He was asked:
“Q. Do you have any complaints about his [Swearingen’s] handling of this matter other than the fact that he wasn’t a licensed Wyoming broker?
“A. Just the fact that I — he didn’t really handle the sale, I did, and buyers did.
***** *
“Q. Okay. What are the other reasons?
“A. The other reasons were that all the negotiations that took place he wasn’t instrumental in any of them, other than the first meeting in Ft. Collins, one meeting with the buyers and the — the closing. That’s the only input that he had.
******
“Q. Well, what other things didn’t he do other than help you with Exhibit Eight?
“A. He didn’t do anything. He brought me a buyer and showed up at the closing. That was about it.” (Emphasis added.)
And Graeber was asked:
“Do you feel that Mr. Swearingen could have assisted you in some way in getting a higher figure?
“A. Yes, sir.
“Q. And how would he have done that?
“A. Just been involved in the negotiations.” (Emphasis added.)
And again:
“Q. And after two or three years, you had found a buyer?
“A. Yes, sir.
“Q. And you had negotiated terms that you could live with ?
“A. Yes, sir.” (Emphasis added.)
The parties asked that they themselves be allowed to conduct the negotiations. Swearingen agreed. The parties conducted the negotiations which were concluded with an agreement. Appellant asserts that it is an aggrieved person because Swearingen did not conduct the negotiations; then, to the contrary, it asserts that it should recover the penalty from Swearingen because he did conduct negotiations in Wyoming. Appellant cannot have it both ways. A party ought to be bound by his own testimony. Graeber said repeatedly that Swearingen was not involved in the negotiations. We agree. He did not solicit business in Wyoming but was contacted by the owners in Colorado. Negotiations concerning the listing occurred in *1382Colorado. Swearingen conferred with the buyer and sellers and put the parties together by phone from Colorado. Advising a potential purchaser of the availability for purchase of the bowling alley may have been acting as a broker, but it was not negotiations. Swearingen was allowed by statute to act as a broker except with respect to conducting negotiations in Wyoming. The term “negotiate” requires conduct that places one in the position of bargaining with a party to settle the terms of a real estate agreement. Loyd v. Saffa, Okla.App., 719 P.2d 844 (1986). Appellant contends Swearingen did not participate in negotiations that culminated in the sale. The parties themselves negotiated the purchase and sale. There was no error by the trial court in concluding that Swearingen did not conduct negotiations in Wyoming.
Finally, the equities in this case do not favor appellant. Its owners had been trying to sell their bowling business over a period of three years. They then contracted with Swearingen, who sold it in three months. Appellant agreed to pay a commission of $108,000, then renegotiated the commission to an agreed $61,000 — $47,000 less than originally agreed. Everyone was satisfied. Now, three years later, appellant seeks to recover back the commission paid.
Appellant conceded that appellees did not take unfair advantage and that it was not harmed by appellees' actions. Appellant admitted it was not concerned about where Swearingen was licensed. Appellant accepted the benefit of appellees’ efforts in selling the bowling alley and now comes, in equity, asking the court to help the corporation avoid the obligation it voluntarily assumed by contract.
The purpose of the Real Estate License Act of 1971 is to protect the public. Battlefield, Inc. v. Neely, Wyo., 656 P.2d 1154 (1983); Hagar v. Mobley, Wyo., 638 P.2d 127 (1981). That purpose was served here. There was a resident broker associated who was within this jurisdiction and subject to discipline by the Wyoming Real Estate Commission, if that was appropriate. The Wyoming broker is not complaining. The Real Estate Commission has taken no action. Even the seller has no complaints, except that now that the bowling alley is sold, “who needs a real estate broker.” He would like his money back. Thus, seller Graeber testified:
“Q. Isn’t the primary thing that a broker does for you is to produce a buyer that eventually buys your properties?
“A. The primary thing, yes.
“Q. And to that extent, Mr. Swearingen got that much done?
“A. Yes, sir.
“Q. To that extent, he had benefited both you and Mr. Anderson?
“A. Yes, sir,”
and
“Q. He didn’t receive more as a commission than what he was entitled to under the agreement, did he?
“A. No, sir.
“Q. He didn’t steal any of your properties or your money, did he?
“A. No, sir.
“Q. He didn’t misrepresent anything to you that caused you any financial damage, did he, other than the commission problem?
“A. No, sir.”
The purpose of protecting the public is not violated when a broker, licensed in another state, cooperates with a broker licensed in the state where the sale occurs in procuring a purchaser. Howell v. Steffey, D.C.App., 204 A.2d 695 (1964).
“The obvious purpose of the Act in question was to protect the public from being forced to deal with dishonest or unscrupulous real estate operators, rather than to permit one party to gain an unconscionable advantage by avoiding a just obligation which he has contracted to pay." (Emphasis added.) Bell v. United Farm Agency, Okla., 296 P.2d 149, 152 (1956).
The dissent suggests that, if the facts were reversed, the sale was of Colorado real estate, and a Wyoming broker had associated with a Colorado broker, the Wyoming broker would suffer at the hands of a Colorado court. The cases cited by the *1383dissent are simply irrelevant and do not support that statement. Thus, in Lemler v. Real Estate Commission, 38 Colo.App. 489, 558 P.2d 591 (1976), the sole issue before the court was
“whether payment may be obtained from the Colorado Real Estate Recovery Fund to satisfy a judgment entered against a corporation and its president as the result of fraud committed in connection with a contract to erect a residence upon the property of the plaintiffs.”
And Broughall v. Black Forest Development Co., 196 Colo. 503, 593 P.2d 314 (1978), was a suit by an individual (not a broker) to recover a finder’s fee for sale of a radio station. Brakhage v. Georgetown Associates, 33 Colo.App. 385, 523 P.2d 145 (1974), was a suit to recover a finder’s fee. Fields v. MacNab, 70 Or.App. 154, 688 P.2d 409 (1984), was a suit under a statute similar to § 33-28-114 W.S.1977, by a nonresident broker against the resident broker to recover his share of a commission. If anything, it supports our prior suggestion that the aggrieved party is the resident broker, not the seller.
Contrary to the claim in the dissent, there is no requirement that the Wyoming broker be actively involved in the sale. The negotiations and sale can be concluded by the parties themselves precisely as in this case. And it makes no difference that. the property is in Wyoming; the buyer is in Wyoming; the seller is in Wyoming; the sales document was prepared in Wyoming; and the sale was closed in Wyoming in the presence of the out-of-state unlicensed broker. If the out-of-state broker did not conduct negotiations in Wyoming, there can be no recovery.
The dissent refuses to recognize that this was a case in which a nonresident real estate broker associated with a resident real estate broker for the purpose of selling a bowling alley located in the state of Wyoming. The effect of this arrangement was that:
(a) The nonresident broker was a licensed real estate broker; thus, all of the finders fee cases brought by unlicensed persons previously cited supra are irrelevant. Also irrelevant are Rosenberg v. Rosenblum, 72 Wyo. 91, 261 P.2d 41 (1953), a case in which a real estate agent, licensed in Wyoming, recovered a commission; Owens v. Capri, 65 Wyo. 325, 202 P.2d 174 (1949); and Dixon v. Ringsby, Wyo., 405 P.2d 271 (1965); and
(b) The nonresident broker could do everything a licensed real estate broker could do in the sale of this real estate except “conduct negotiations in the state of Wyoming.” This means that the balance of cases cited by the dissent are not in point.
It is also stated in the dissent:
“We need go no further than the definitive analysis of Federal District Judge Ewing Kerr, defining the appropriate answer in Doran v. Imeson Aviation, Inc., 419 F.Supp. 586, 588 (D.Wyo.1976):
“ ‘Since Doran was not a licensed real estate broker in the State of Wyoming, the contract between Doran and Imeson was void and any actions taken by Doran to sell the business were unlawful and Doran is prevented from bringing this action for his commission under the laws of Wyoming.’ ”
Judge Kerr stated in Doran, supra at 587, that “in November, 1975 Doran produced a buyer,” and “[h]is activities in producing a purchaser * * * constitute sufficient grounds for holding that he was acting as [a] real estate broker." (Emphasis added.) Then he held the contract of the parties void. The case cited obviously has no relevance. Swearingen was acting as a broker, but it was proper for him to do so. His contract was not void. He was not suing to recover a commission. It had been paid. He was not suing to enforce an illegal contract.
Established law differentiates between a broker or individual suing to collect a commission and a seller suing to get it back years after it has been paid. Cases generally hold that one who has paid money to an unlicensed person for performance of a contract is not entitled to recover the money back upon a number of grounds, some of which are that equity and principles of restitution do not require that the money *1384be paid back, the payment was voluntary, it was a mistake of law by which the payor is bound, there is no equitable reason for making restitution to a plaintiff who gets what he expected, and the parties to an illegal contract which has become executed cannot in equity and principles of restitution require that money be paid back. An-not., Recovery Back of Money Paid to Unlicensed Person Required by Law to Have Occupational or Business License or Permit to Make Contract, 74 A.L.R.3d 637 (1976). It may have been an unusual, fortuitous circumstance that these parties wished to and did negotiate themselves. That may not happen often. But the fact that it did happen here means that Swearingen did not violate the statute because he did not conduct negotiations. That must be the reason appellant paid the brokerage commission at the closing, for as Graeber testified:
“If I hadn’t felt that the fee was owed, I would have never made him a check out in the first place.”
As this court aptly stated in a similar case:
“It seems appropriate here to call attention to the fact that no member of the public has been adversely affected by anything that Ms. Neely did. The only one complaining is the corporation who hired her knowing she was not a licensed real estate agent, and now, after she has performed for her employer, it seeks to play little statutory interpretation games in an effort to avoid paying her the commissions it promised and the commissions she has earned. We are supportive of the trial judge’s comments when, denying defendant’s motion for a directed verdict, he said:
“ ‘The evidence further indicates that there were sales and there was benefit that accrued to Battlefield, Inc. and to the Defendants in this action. The Court does not believe that it is or ought to be the policy of Wyoming law that under those types of facts and circumstances, an owner of land, of Wyoming land, which is to be subdivided, can take advantage of a person not holding a real estate sales license, obtain the benefits when he doesn’t care whether they are licensed or not, obtain the benefits of such a transaction and then utilize and manipulate the Wyoming law to his own advantage to avoid that for which he bargained.’ ” Battlefield, Inc. v. Neely, supra 656 P.2d at 1158.
“Courts do not like to aid litigants in avoiding their contractual obligations by joining in their games of hide-and-seek behind statutory technicalities — especially is this so where the other party has performed and the party looking to avoid the contract has reaped all the benefits of the performance. We will not aid and abet such efforts if we can possibly avoid it.” Id. at 1157.
Appellant’s plea for equity finds no support in this record.
Affirmed.
THOMAS and URBIGKIT, JJ., each filed separate dissenting opinions.