California is going to be the first state in the US to teach primary school students with LGBT-inclusive textbooks.

The California State Board of Education approved ten textbooks that include the historical contributions of LGBT Americans for students in kindergarten through eighth grade.

The bill was written by former State Senator Mark Leno and, according to the Advocate news site, “requires history and social sciences curriculum to teach about the accomplishments of queer people and people with disabilities.”

Advocacy groups have applauded the board’s decision and Equality California's executive director Rick Zbur said it was a “long-fought victory”.

Among the seven approved publishers are McGraw Hill, National Geographic Learning, and Pearson Scott Foresman, and Prentice Hall.

The board also rejected two books that do not include LGBT history because the lessons did not comply with the state’s Fair Education Act of 2011.

Donald Trump will be the first president to speak at anti-LGBT summit

The books were published by Houghton Mifflin Harcourt and “were rejected because they failed to address the sexual orientations of historical figures who were LGBT, or widely speculated by historians to have been LGBT,” according to the LA Times.

Such figures include Emily Dickinson, Walt Whitman, Ralph Waldo Emerson, Nathaniel Hawthorne, and President James Buchanan.

Thousands march against Donald Trump in LGBT rights parade Show all 8 1 /8 Thousands march against Donald Trump in LGBT rights parade Thousands march against Donald Trump in LGBT rights parade A marcher hold a sign that reads "Love is Love is Love" on the National Mall with the Washington Monument in the background during the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade Marchers unfurl a huge rainbow flag as they prepare to march in the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade Marchers gather to hear speakers at the end of the Los Angeles LGBTQ #ResistMarch AP Thousands march against Donald Trump in LGBT rights parade Gil Mendez, of San Francisco, holds a sign to honor the victims of the shooting at the Pulse Nightclub in Orlando as he marches during the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade An demonstrator looks on as LGBT members and their supporters take part of the Equality March for Unity AFP/Getty Images Thousands march against Donald Trump in LGBT rights parade A marcher listens to speakers at the end of the Los Angeles LGBTQ #ResistMarch AP Thousands march against Donald Trump in LGBT rights parade LGBT members and their supporters take part of the Equality March for Unity AFP/Getty Images Thousands march against Donald Trump in LGBT rights parade A marcher mugs for the camera during the Los Angeles LGBTQ #ResistMarch AP

Though the publisher acknowledged the importance of the contributions of the LGBT community to American history, it did not make the changes necessary to be approved.

"HMH feels that the terms lesbian, gay, bisexual, transgender, and queer are contemporary terms that may not map well on past lives and experiences," Houghton Mifflin Harcourt said.

As EdSource reported: “School districts are free to use any textbooks, as long as they teach history and social studies according to frameworks — or blueprints — adopted by the board more than a year ago.”