Trent Bennett, a science teacher at Malvern High School in Arkansas, resigned from his position on Thursday after posting racist comments against Barack and Michelle Obama on Facebook.

While commenting on KTHV-TV’s Facebook page last week, Bennett called the first lady “Michelle Obummer” and “America’s First Chimp.” He also admitted that he was happy to see "that nasty chimp and her spider monkey hubby gone for good."In subsequent posts, he repeated the false assertions that President Obama was born in Kenya—he was born in Hawaii.

The teacher also complained about the protests over the police shootings of African-Americans by calling protesters "monkeys."

KTHV-TV reports that in his resignation letter, Bennett said his posts both"disrespectful and offensive" and in a separate statement to the news station he promised to delete his social media accounts.

Over the weekend, the Malvern School District became aware of the postings and called the comments “inappropriate, insensitive, and used racially charged rhetoric.”

The Obamas celebrate the Inauguration in 2009 and 2013 Show all 10 1 /10 The Obamas celebrate the Inauguration in 2009 and 2013 The Obamas celebrate the Inauguration in 2009 and 2013 WASHINGTON, DC - JANUARY 21: U.S. President Barack Obama and first lady Michelle Obama thank supporters during the Commander in Chief Inaugural Ball at the Walter E. Washington Convention Center on January 21, 2013 in Washington, DC. President Obama was sworn in for his second term earlier in the day. (Photo by Alex Wong/Getty Images) Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 U.S. President Barack Obama and first lady Michelle Obama arrive for the Inaugural Ball at the Walter Washington Convention Center January 21, 2013 in Washington, DC. President Obama started his second term by taking the Oath of Office earlier in the day during a ceremony on the West Front of the U.S. Capitol. Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 U.S. President Barack Obama and first lady Michelle Obama arrive for the Inaugural Ball at the Walter Washington Convention Center January 21, 2013 in Washington, DC. President Obama started his second term by taking the Oath of Office earlier in the day during a ceremony on the West Front of the U.S. Capitol. Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 U.S. President Barack Obama dances with first lady Michelle Obama during the Inaugural Ball January 21, 2013 at Walter E. Washington Convention Center in Washington, DC. Barack Obama was re-elected for a second term as President of the United States. Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 President Barack Obama and First Lady Michelle Obama ride in a golf cart an Inaugural ball 1/20/09 Official White House Photo by Pete Souza Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 US President Barack Obama and First Lady Michelle Obama dance during the Youth Inaugural Ball at the Hilton Washington in Washington, DC, January 20, 2009. Obama was sworn in as the 44th US president earlier in the day. AFP PHOTO / Saul LOEB (Photo credit should read SAUL LOEB/AFP/Getty Images) AFP/Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 (L-R) US President George W. Bush, First Lady Laura Bush, Michelle Obama and president-elect Barack Obama stand outside the Diplomatic entrance of the White House on November 10, 2008 in Washington. Obama is visiting the White House at the invitation of Bush ahead of his January 20, 2009 inauguration as the next president. AFP PHOTO/Tim SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images) Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 (L-R) US President George W. Bush, First Lady Laura Bush, Michelle Obama and president-elect Barack Obama stand outside the Diplomatic entrance of the White House on November 10, 2008 in Washington. Obama is visiting the White House at the invitation of Bush ahead of his January 20, 2009 inauguration as the next president. AFP PHOTO/Tim SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images) AFP/Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 US President George W. Bush and president-elect Barack Obama make their way through the Colonnade on November 10, 208 to a meeting in the Oval Office of the White House in Washington. Obama is visiting the White House at the invitation of Bush ahead of his January 20, 2009 inauguration as the next president. AFP PHOTO/Mandel NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images) AFP/Getty Images The Obamas celebrate the Inauguration in 2009 and 2013 performs during MTV & ServiceNation: Live From The Youth Inaugural Ball at the Hilton Washington on January 20, 2009 in Washington, DC. President Barack Obama was sworn in as the 44th President of the United States today, becoming the first African-American to be elected President of the US. Getty Images

“In no way are these posts reflective of the District,” officials wrote in a statement. “The District is currently investigating the matter and due to privacy laws and regulations are not able to comment specifically on any details related to the investigation. The District takes this kind of activity very seriously and the appropriate measures will be taken once the investigation is complete.”