BOSTON -- David Krejci thought there were a few seconds left before overtime.
He was surprised when he saw how close it was.
Krejci tipped in a shot with eight-tenths of a second left in the third period to lift the Boston Bruins to a 2-1 win over San Jose on Thursday night, sending the Sharks to their first regulation loss of the season.
"Actually I thought there might be more than 10 seconds, maybe 15, 20 seconds left," he said, breaking into a smile. "Then we scored it Luc [Milan Lucic] said 'Look up.' I looked up and it was .8. It was even sweeter."
Jarome Iginla scored his first goal with the Bruins (7-2) and goaltender Tuukka Rask was outstanding, making 38 saves.
The Sharks dominated the Bruins for most of the night until Krejci sent the fans to the streets happy, looking to watch the end of the Red Sox World Series game about 3 miles away.
Patrick Marleau had San Jose's goal, his eighth of the season. Antti Niemi stopped 15 shots.
Krejci, positioned in the slot, tipped defenseman Adam McQuaid's shot from the point between Niemi's pads for the game-winner.
"There was a guy in front, so I thought just to watch the puck and I thought I had it, but he tipped it kind of back the same way where I was coming from," Niemi said. "Yeah, tough way to lose with just a little bit left in the game."
The Sharks, who had opened the season by earning a point in their first nine games, tied the game at 1-all on the opening shift of the third period when Marleau swooped in from the left wing, slipping a rebound past Rask 18 seconds into the period.
Seconds later, Rask came across the crease and made a blocker save on Tomas Hertl at the end of a 2-on-1 break. The Sharks kept up the pressure with a flurry of shots over the next 2½ minutes.
The Bruins played the first period like many of their fans from the slimmed-down crowd -- like they had something else on their minds. With the Red Sox hosting Game 2 of the at Fenway Park, there were a decent number of empty seats despite the club's 170th straight sellout of TD Garden.