Mayor Bill de Blasio announced on Wednesday that New York City public schools would observe two Muslim holidays in the same manner it observes Christian and Jewish holidays.

The decision allows New York’s thousands of Muslim students to celebrate at home without missing any school work.

Mayor de Blasio took to Twitter to announce the new decision, which would cancel school for two Muslim holidays: Eid al-Adha and Eid al-Fitr.

The mayor and Schools Chancellor Carmen Farina went to PS/IS 30 in Brooklyn to announce the decision, according to NYC Department of Education statement. The school experienced more than 36 percent absences during the Eid al-Adha holiday.

During the 2015-2016 school year schools will close on Sept. 24 to observe Eid al-Adha, which commemorates the willingness of Ibrahim (Abraham) to sacrifice his son. Eid al-Fitr falls during the summer but schools will be closed for those who attend summer school.

“We made a pledge to families that we would change our school calendar to reflect the strength and diversity of our city. Hundreds of thousands of Muslim families will no longer have to choose between honoring the most sacred days on their calendar or attending school. This is a common sense change, and one that recognizes our growing Muslim community and honors its contributions to our City,” Mayor de Blasio said.

Chancellor Farina added that the school calendar will reflect and honor the traditions of all New York City students.

“Muslim students and their families who observe Eid al-Fitr and Eid al-Adha shouldn’t have to choose between an instructional day and their religious obligations. This new addition will also enable a teachable moment in the classroom for our students to learn about religious tolerance and the societal contributions of various cultures,” she added.

“Today, our children have earned the liberty to observe and celebrate the Eid holidays with accommodation from their school system,” celebrated Council Member I. Daneek Miller, the only Muslim member of the City Council.

According to a New York Times article from April, Muslim activists have working towards the recognition of holidays since around 2009.

A study from 2008 found that 10 percent of NYC students are Muslim and 95 percent attend public schools.