SACRAMENTO, Calif. (AP) — California lawmakers passed a bill to let college athletes make money.

The bill would let college athletes hire agents and be paid for the use of their name, image or likeness. And it would stop universities and the NCAA from banning athletes who take the money.

The California Assembly passed the bill 66-0 on Monday, a few days after the bill got an endorsement from NBA superstar Lebron James, who did not go to college.

Universities oppose the bill, and the NCAA has warned the bill could mean California universities would be ineligible for national championships.

The California Senate must take a final vote on the bill by Friday.