The CEO of internet company Mozilla has resigned following pressure from the company's employees and others outside the firm over his stance on gay marriage.
Brendan Eich, who had repeatedly said he would not step down, had supported US legislation banning same-sex marriage in California.
Mozilla chairwoman Mitchell Baker posted the following statement confirming that Eich had left the firm.
Mozilla employees had publicly tweeted their opposition to Eich's appointment as CEO last month:
Yesterday the popular dating site OkCupid posted a message to users on Mozilla's Firefox browser urging them to use an alternative product because Eich "is an opponent of equal rights for gay couples."
The message added: