WASHINGTON (AP) — Protections for gay and lesbian students are included in the proposed rewrite of the nation's massive education law.

Senate Democrats on Tuesday released a 1,150-page revision of the law governing the nation's elementary and secondary schools, formally known as the Elementary and Secondary Education Act, but more commonly called No Child Left Behind.

It includes a Student Non-Discrimination Act that, if passed, would threaten schools' funding if they don't take steps to prevent gay and lesbian students from being bullied or harassed.

The bill bans discrimination against students who are gay or perceived as gay. The gay protections are a minor part of the sweeping bill that governs all schools that receive federal dollars.