Damore was fired for “perpetuating gender stereotypes,” he told Bloomberg on Monday night. Damore later confirmed his dismissal to BuzzFeed News.

“Google has super flexible (illegal) policies that they can twist to fire anyone they want,” he said.

Google did not respond to a request for comment.

On Saturday, a lengthy memo titled “Google’s Ideological Echo Chamber” written by Damore spread quickly among employees before being leaked to the press.

The document argued in favor of a biological basis for the difference in the number of men and women in the tech industry based on pseudoscientific statistics and assertions such as women suffering from “neuroticism” more than men. Damore’s LinkedIn profile says he has received advanced degrees in biology.

Damore argued that the company should not offer programs for racial minorities or women and that “ideological diversity,” — including more conservative viewpoints like Damore’s — was more important than hiring more people of underrepresented racial minorities or women. Damore wrote that politically conservative Google employees faced discrimination.

“We need to stop assuming that gender gaps imply sexism,” he wrote. “I’m simply stating that the distribution of preferences and abilities of men and women differ in part due to biological causes and that these differences may explain why we don’t see equal representation of women in tech and leadership.”

Google executives said on Sunday that they do not “endorse, promote or encourage” the author’s viewpoint. Google CEO Sundar Pichai said that Damore had violated the company’s code of conduct.

Silicon Valley, and Google in particular, has faced increasing scrutiny for its treatment of women. The search giant is currently under investigation by the US Department of Labor for gender discrimination in the workplace.

One department official testified in court that the federal agency has found “systemic compensation disparities against women pretty much across the entire workforce.” Google has denied the allegations.