A bill to require California public schools to teach the historical accomplishments of gay men and lesbians passed the state Legislature on Tuesday in what supporters call a first for the nation.

Governor Jerry Brown, a Democrat, has not said publicly whether he supports the bill, which he has 12 days to sign or veto once it reaches his desk later this month. If he takes no action, the measure would become law automatically.

The bill gained final passage from the state Assembly on a vote of 49-25, without a single Republican supporting it. The measure cleared the state Senate in April.