Whoever solicits or receives, either as a political contribution, or for personal emolument, any money or thing of value, in consideration of the promise of support or use of influence in obtaining for any person any appointive office or place under the United States, shall be fined under this title or imprisoned not more than one year, or both.
Whoever solicits or receives any thing of value in consideration of aiding a person to obtain employment under the United States either by referring his name to an executive department or agency of the United States or by requiring the payment of a fee because such person has secured such employment shall be fined under this title, or imprisoned not more than one year, or both. This section shall not apply to such services rendered by an employment agency pursuant to the written request of an executive department or agency of the United States.