Quick search by citation:

22 U.S. Code § 2688 - Ambassadors; criteria regarding selection and confirmation

It is the sense of the Congress that the position of United States ambassador to a foreign country should be accorded to men and women possessing clearly demonstrated competence to perform ambassadorial duties. No individual should be accorded the position of United States ambassador to a foreign country primarily because of financial contributions to political campaigns.

(Aug. 1, 1956, ch. 841, title I, § 18, as added Pub. L. 94–141, title I, § 104, Nov. 29, 1975, 89 Stat. 757; renumbered title I, Pub. L. 97–241, title II, § 202(a), Aug. 24, 1982, 96 Stat. 282.)