Brooklyn Nets center Jason Collins comes into the game for the first time during the first half of an NBA basketball against the Los Angeles Lakers, Sunday, Feb. 23, 2014, in Los Angeles. (AP Photo/Mark J. Terrill)
(The Associated Press)

Jason Collins played his first game with the Brooklyn Nets on Sunday night, becoming the first openly gay active player in the four major U.S. professional sports leagues, and Deron Williams had a season-high 30 points along with seven assists in a 108-102 victory over the Los Angeles Lakers.

Collins was signed to a 10-day contract Sunday, nearly 10 months after his announcement on April 29 in Sports Illustrated. He played 10 scoreless minutes with two rebounds and five fouls.

Paul Pierce had 25 points and seven rebounds, helping end an 11-game Nets losing streak against the Lakers.

Pau Gasol had 22 points and 11 rebounds for the Lakers, who never led and lost for the 24th time in 30 games with Kobe Bryant, Steve Nash and Xavier Henry all sidelined by injuries.