With Bobby Orr, Phil Esposito and other hockey greats in the building to celebrate the start of the Boston Bruins’ 100th season, Chicago Blackhawks phenom Connor Bedard took another early step toward joining them on Wednesday night when he scored his first career NHL goal.

“It’s a big relief,” said Bedard, who posed with the puck in the locker room after the 3-1 loss to Boston. “You want to get one really bad, quick, and kind of get that out of the way. But it was really cool moment and cool building to do it in.”

David Pastrnak scored to break a second-period tie and added an empty-netter for Boston, which won its season opener a year after setting NHL records for wins and points then losing in the first round of the playoffs.

The Bruins’ victory spoiled the milestone for Bedard, the league’s most anticipated rookie in nearly a decade. The No. 1 overall draft pick also registered his first penalty and gave the Blackhawks a scare when he crashed into the boards skates first late in the third period and was slow getting up.

He remained in the game and pronounced himself “great” afterward.