(CNN) The Washington state high school principal that was criticized for an online post following Kobe Bryant's death has resigned, the district superintendent said.

"Trust between a principal and a school is so critical, and it's become clear to me in my time here that that trust has been broken," Camas School District Superintendent Jeff Snell said in a video directed to students. "It's caused a disruption at the school that's demonstrated in many ways."

After the helicopter crash last month that killed the NBA legend, his 13-year-old daughter and the other seven people on board, Camas High School principal Liza Sejkora wrote on her personal Facebook page, "Not gonna lie. Seems to me that karma caught up with a rapist today," CNN affiliate KATU reported

The post seemed to be referring to Bryant, who in 2003 faced a sexual assault accusation. That criminal charge was dropped. Bryant acknowledged that while he viewed the encounter as consensual, his accuser did not. Bryant later settled a civil suit with his accuser.

Snell said that in the time since, many students were put "in a really difficult position of either being for or against Dr. Sejkora and that's not fair to you."

Read More