Brooklyn Nets' Paul Pierce (34) drives past Golden State Warriors' Stephen Curry (30) and Andrew Bogut (12), of Australia, during the first half of an NBA basketball game Wednesday, Jan. 8, 2014, in New York. AP Photo/Frank Franklin II Brooklyn Nets' Joe Johnson, right, defends Golden State Warriors' David Lee (10) during the first half of an NBA basketball game Wednesday, Jan. 8, 2014, in New York. Golden State Warriors' Stephen Curry points to a teammate after making a three point basket during the first half of an NBA basketball game against the Brooklyn Nets Wednesday, Jan. 8, 2014, in New York. Brooklyn Nets' Andray Blatche (0) shoots over Golden State Warriors' David Lee (10) during the first half of an NBA basketball game Wednesday, Jan. 8, 2014, in New York. Brooklyn Nets' Paul Pierce (34) reacts after being fouled during the first half of an NBA basketball game against the Golden State Warriors on Wednesday, Jan. 8, 2014, in New York. NEW YORK (AP) - Joe Johnson scored 27 points in the Brooklyn Nets' season-high fourth straight victory, a 102-98 win Wednesday night that snapped the Golden State Warriors' 10-game winning streak and prevented the first 7-0 road trip in NBA history. Kevin Garnett scored 11 of his 13 points, one of his best efforts in a Brooklyn uniform, in the final quarter and stole Stephen Curry's pass with the Warriors down three in the final half-minute. Shaun Livingston made the tiebreaking free throw with 1:12 left when he appeared to get away with hooking Curry, then Johnson made four in a row for just enough breathing room to allow the Nets to remain unbeaten in 2014. Curry scored 34 points for the Warriors, who were bidding for a franchise-record 11th consecutive victory overall and the first unbeaten road trip of seven or more games in NBA history. But they didn't make a field goal after Klay Thompson's 3-pointer with 4:07 remaining that gave them a 93-89 lead until Curry's jumper with 5.8 seconds to go. Brooklyn scored nine straight points after Thompson's basket as fans stood across the final minutes of one of the Nets' most spirited efforts of the season - some taunting director and Knicks fan Spike Lee, who sat courtside wearing a hat in the Nets' black-and-white colors but read "KNICKS." Livingston finished with 13 points for the Nets, playing without point guard Deron Williams after he underwent treatment for both ankles this week. They will try to wrap up a perfect homestand Friday against Miami. The Nets snapped a winning streak of 10 or more games for the third time in their NBA history, having ended Detroit's 11-game run on Jan. 31, 2006, and the SuperSonics' 12-game streak on Nov. 21, 1982, in Seattle. David Lee scored 20 points for the Warriors, who ran out of gas just shy of the record books and had to settle for their second 6-1 road trip in the last two years. Their trip started on Dec. 29 in Cleveland, and included an impressive victory at Miami, but perhaps left the Warriors with too little left after a 101-80 win at Milwaukee on Tuesday. Golden State made its first four 3-pointers in racing to a 20-10 lead, and it was 32-16 after Harrison Barnes' 3-pointer made the Warriors 13 of 17 from the field and 5 of 6 behind the arc. But Mirza Teletovic and Johnson hit 3s before the period ended and the Nets forced Golden State to miss six straight shots to generate some momentum. Brooklyn then surged ahead late in the second with a 14-4 run, and brought a 59-52 lead to the locker room on Teletovic's 3 that beat the buzzer. Livingston's dunk gave Brooklyn a 67-56 lead with 6:46 left in the third, but the Nets managed just eight free throws the rest of the period as Golden State caught up. Barnes' 3-pointer with 32 seconds left gave the Warriors a 76-75 lead to take to the fourth. Notes: The Nets won for the first time in seven games on Wednesdays this season. ... Warriors coach Mark Jackson was born in Brooklyn, while Nets coach Jason Kidd grew up in the Bay Area and used to attend Golden State games. Kidd called Jackson, also a former point guard who became an NBA head coach without any coaching experience, a "role model" and both said they have talked during the season as Kidd makes that transition now. Follow Brian Mahoney on Twitter: http://www.twitter.com/Briancmahoney