The House of Representatives has approved a measure prohibiting sexual relationships between lawmakers and their staffers.

The bill, H. Res. 724, was pushed by Rep. Barbara Comstock (R- VA), and, according to the Washington Post, is effective immediately. It affects the House only.

Over the last half year or so, amid the nationwide #MeToo movement, several congressmen and senators have been embroiled in sexual harassment scandals and have since resigned, most notably Sen. Al Franken (D-MN) and Rep. John Conyers (D-MI).

Full details of H. Res. 724 can be found here.

Follow Jeremy Frankel on Twitter and Facebook.