The announcement comes after days of backlash from some Mozilla employees

Brendan Eich has resigned as CEO of Mozilla and left the board of the foundation that governs the nonprofit company after days of controversy over his donation to backers of California's anti-gay-marriage proposition in 2008.

The company announced his resignation on its blog today in a statement signed by Executive Chairwoman Mitchell Baker. "Mozilla prides itself on being held to a different standard and, this past week, we didn't live up to it. We know why people are hurt and angry, and they are right: It's because we haven't stayed true to ourselves," the statement said. "We didn't act like you'd expect Mozilla to act. We didn't move fast enough to engage with people once the controversy started. We're sorry. We must do better."

[ Get your websites up to speed with HTML5 today using the techniques in InfoWorld's HTML5 Deep Dive PDF how-to report. | Cut to the key news for technology development and IT management with the InfoWorld Daily newsletter, our summary of the top tech happenings. ]

Eich, who created JavaScript and also cofounded Mozilla Corp., was named CEO on March 24. Soon after, controversy erupted over his $1,000 donation to support Proposition 8, which was passed by California voters in November 2008 and reversed by the U.S. Supreme Court in June 2013. News of this donation first surfaced in 2012 but caused little reaction at the time. This week, some Mozilla employees publicly called for his resignation, as did the dating site OKCupid.

Eich refused to discuss his personal views and said that he would not resign in an interview published Wednesday by the Guardian newspaper. "So I don't want to talk about my personal beliefs because I kept them out of Mozilla all these 15 years we've been going," he was quoted as saying. "I don't believe they're relevant."

However, in a statement following Mozilla's announcement on Thursday, Eich said that under the present circumstances, "I cannot be an effective leader."

"Our mission is bigger than any one of us," he said. Eich said his resignation was effective Thursday.

The company did not say more about who might be chosen to replace Eich, and it declined to comment further.