Florida superintendents have been advised by the state’s education agency to nix their Advanced Placement Psychology classes unless they exclude any topics related to gender or sexuality, according to a press release from The College Board.

Such a shift would mean the courses couldn’t be called Advanced Placement, however, or used by students to earn college credit, the College Board said.

“We are sad to have learned that today the Florida Department of Education has effectively banned AP Psychology in the state by instructing Florida superintendents that teaching foundational content on sexual orientation and gender identity is illegal under state law,” the statement reads. “The state has said districts are free to teach AP Psychology only if it excludes any mention of these essential topics.”

In June, the College Board said they would not alter its popular AP Psychology class after the state asked the organization to review all AP courses to see if they “need modification to ensure compliance” with a Florida law and state Board of Education rule targeting instruction on sexual orientation and gender identity.