The House passed legislation on Monday to establish workplace protection policies for unpaid government interns.

Passed easily by a vote of 414-0, the measure would shield unpaid interns and applicants from discrimination or harassment on the basis of race, religion, disability, age or gender.

Paid interns are already covered under the same anti-discrimination policies that cover federal employees. Lawmakers said that gaps in existing statute under laws such as the Civil Rights Act and Age Discrimination in Employment Act leave unpaid interns vulnerable.

"Under current law, victims rely on the discretion of managers to prevent the recurrence of this behavior, something that does not always occur,” said Rep. Elijah Cummings (Md.), the top Democrat on the House Oversight Committee and author of the legislation. 

Thousands descend upon Washington and Capitol Hill every year for internships of varying lengths. Recent studies have indicated that internships are viewed as essential for post-graduate job prospects, with one 2012 study finding that more than half of graduating college seniors had internship experience.

“As members, every one of us rely on interns. We got them in our offices down in our districts, we got them in our offices in Washington, D.C.,” said House Oversight Committee Chairman Jason ChaffetzJason ChaffetzTrump, GOP at new crossroads on deficit Chaffetz: Spending vote means GOP 'lost every single bit of credibility' on debt Let’s not fail in our second chance to protect Bears Ears MORE (R-Utah).

Multiple courts over the years have dismissed cases alleging harassment based on the conclusion that that interns weren't covered under the same laws protecting paid employees from hostile work environments. One 2013 case against Phoenix Satellite Television was thrown out because the judge found that the statute prohibiting sexual harassment in the workplace didn't apply to the unpaid intern who filed the lawsuit.

A handful of states have passed laws to protect unpaid interns from harassment and discrimination, including New York, California, Connecticut, Maryland and Oregon, as well as the District of Columbia.

The legislation passed by the House on Monday night does not apply to unpaid interns working in the private sector. In a statement, Rep. Bobby ScottRobert (Bobby) Cortez ScottOvernight Health Care: Trump eases rules on insurance outside ObamaCare | HHS office on religious rights gets 300 complaints in a month | GOP chair eyes opioid bill vote by Memorial Day Overnight Regulation: Trump to take steps to ban bump stocks | Trump eases rules on insurance sold outside of ObamaCare | FCC to officially rescind net neutrality Thursday | Obama EPA chief: Reg rollback won't stand Dems decry ObamaCare change as new attempt at 'sabotage' MORE (Va.), the top Democrat on the House Education and the Workforce Committee, called for a vote on legislation to expand workplace protections to all interns.

"Congress must do more to protect unpaid interns — be it in the federal agencies, the halls of Congress, or the private sector," Scott said in a statement.