California has become the first state to require publicly traded companies to include women on their boards of directors, one of several laws boosting or protecting women that Governor Jerry Brown signed on Sunday.

The measure requires at least one female director on the board of each California-based public corporation by the end of next year. Companies would need up to three female directors by the end of 2021, depending on the number of board seats.

The Democratic governor referenced the objections and legal concerns that the law has raised. The California Chamber of Commerce has said the policy will be difficult for companies to implement and violates constitutional prohibitions against discrimination.

“I don’t minimize the potential flaws that indeed may prove fatal to its ultimate implementation,” Brown wrote in a signing statement. “Nevertheless, recent events in Washington DC – and beyond – make it crystal clear that many are not getting the message.”

It is one of several measures affecting women that Brown signed on Sunday, his last opportunity to approve or veto laws before the term-limited governor leaves office. He also approved legislation requiring smaller employers to provide sexual harassment training and banning secret settlements related to sexual assault and harassment.

But he vetoed a bill that would have required California’s public universities to provide medication for abortion at campus health centers, saying the services were already “widely available” off campus.

Brown’s actions come as the #MeToo movement against sexual misconduct has led to a reckoning nationwide that has ousted men from power. The latest high-profile allegations are against the supreme court nominee Brett Kavanaugh, who has denied decades-old claims of sexual misconduct from three women.

The author of the California measure on corporate boards, SB 826, said she believed having more women in power could help reduce sexual assault and harassment in the workplace.

Having more women on the boards also would make companies more successful, the state senator Hannah-Beth Jackson said. Women tended to be more collaborative and better at multitasking, the Santa Barbara Democrat said.

One-fourth of publicly held corporations with headquarters in California do not have any women on their boards of directors. These companies have not done enough to increase the number of women on their boards despite the legislature’s urging, making government intervention necessary, Jackson said.

“This is one of the last bastions of total male domination,” she said. “We know that the public and business are not being well-served by this level of discrimination.”

The California Chamber of Commerce argued that the composition of corporate boards should be determined internally, not mandated by government. The chamber said the new law would prioritize gender over other aspects of diversity, such as race and ethnicity.

“It creates a challenge for a board on achieving broader diversity goals,” said Jennifer Barrera, senior vice-president for policy at the chamber.

The law applies to companies that report having their principal executive offices in California. Companies can be fined $100,000 for a first violation and $300,000 for subsequent violations.

The law also requires companies to report their board composition to the California secretary of state and imposes a $100,000 fine if a company fails to do so.

Some European countries, including Norway and France, already mandate that corporate boards include women.

Brown stopped short on Sunday of making California the first state to mandate that public colleges and universities offer abortion medication at their health centers.

The public schools now refer students to outside providers. Abortion rights advocates said that made it difficult for women without a car and also expensive because many private providers do not accept student insurance.