; and (C) by inserting after subsection (g), as so redesignated, the following: (h) The term sexual orientation means homosexuality, heterosexuality, or bisexuality. ; and (3) in section 705, by inserting , sexual orientation, gender identity, after sex . (e) Discrimination in refugee resettlement prohibited Section 412(a)(5) of the Immigration and Nationality Act ( 8 U.S.C. 1522(a)(5) ) is amended by inserting sexual orientation, gender identity, after sex, . (f) Safe schools Title IV of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 7101 et seq.) is amended by adding at the end the following: G SAFE SCHOOLS IMPROVEMENT 4701. Purpose The purpose of this part is to address the problem of bullying and harassment conduct of students in public elementary schools and secondary schools. 4702. Anti-bullying policies (a) Bullying In this part, the term bullying includes cyber-bullying through electronic communications that take place away from school or a school-sponsored or school-related event, but only if the cyber-bullying infringes on the rights of the student at school as set forth in subparagraph (A) or (B) of subsection (b)(1). (b) Policies A State that receives a grant under this title shall require all local educational agencies in the State with authority to administer public elementary and secondary schools to carry out the following: (1) Establish policies that prevent and prohibit conduct, including bullying and harassment— (A) that is sufficiently severe, persistent, or pervasive that a reasonable person would expect such bullying or harassment to limit a student’s ability to participate in, or benefit from, a program or activity of a public school or local educational agency