; and (B) by adding at the end the following: (B) Officers of the House of Representatives (i) Any person who is an elected officer of the House of Representatives and who, within 1 year after that person leaves office, knowingly makes, with the intent to influence, any communication to or appearance before any of the persons described in clause (ii), on behalf of any other person (except the United States) in connection with any matter on which such elected officer seeks action by a Member, officer, or employee of either House of Congress, in his or her official capacity, shall be punished as provided in section 216 of this title. (ii) The persons referred to in clause (i) with respect to appearances or communications by a former elected officer are any Member, officer, or employee of the House of Representatives. . (b) Effective date The amendments made by subsection (a) shall apply to individuals who leave office or employment to which such amendments apply on or after the date of adjournment of the second session of the One Hundred Fifteenth Congress sine die or December 31, 2018, whichever date is earlier.