A Republican state lawmaker in California says he will pull his kids out of public school because of a new law allowing students confused about their “gender identity” to use whichever restroom or locker room they choose.

Assemblyman Tim Donnelly, published a column on conservative website World Net Daily (WND) explaining the decision on Thursday.

“My 13- and 16-year-old boys were horrified at the idea of sharing a bathroom and locker room with a member of the opposite sex, after having discussed AB 1266 with them,” wrote Donnelly.

“My boys who went back to the public school after many years away, will not be returning,” he added.

Assemblyman Tim Donnelly

Republican Assemblyman Tim Donnelly said on Thursday he is pulling his kids out of public school because of a new law signed by Democratic Gov. Jerry Brown. (AP)

On Monday, Democratic California Gov. Jerry Brown signed A.B. 1266 into law, affording students confused about their “gender identity” a host of new rights, including the ability to use either a boys or girls restroom and either locker room.

Carlos Alcala, the spokesman for the bill’s author, told parents like Donnelly that “being uncomfortable does not justify discrimination,” in an interview with TheBlaze Monday.

In his WND column, Donnelly also blasted A.B. 1266 as a “recipe for disaster” and said K-12 students are not mature enough to deal with its ramifications.

“This will take the normal hormonal battles raging inside every teenager and pour gasoline onto those simmering coals,” Donnelly wrote.

(H/T: CBS Sacramento)

Follow Oliver Darcy (@oliverdarcy) on Twitter