Under the previous law, intentionally exposing someone to HIV was a felony. The new law reduces it to a misdemeanor, placing HIV in the same category as other communicable diseases, CBS News/Associated Press reported.

Brown signed the bill into law on Friday.

The previous harsher law discouraged people from getting tested for HIV and stigmatized those who have it, according to Democratic Sen. Scott Wiener of San Francisco.