New York Islanders' Nick Leddy (2) defends against Boston Bruins' David Krejci (46) during the first period of an NHL hockey game Tuesday, March 9, 2021, in Uniondale, N.Y. Credit: Frank Franklin II / AP

BOSTON — David Krejci is leaving the Boston Bruins after 14 NHL seasons to continue his hockey career in his native Czech Republic.

The 35-year-old Krejci, whose contract had expired, announced his decision in a social media post sent out by the Bruins on Friday.

“At this point in my career and life, I need to return to the Czech Republic and play in front of my family who sacrificed so much to help me achieve my NHL dreams,” Krecji said. “I want my children to live where I grew up, spend time with so many Czech family members who love them and create lifelong memories.”

Krejci was a steady, reliable second-line center whose career in Boston included winning the Stanley Cup in 2011. After making his debut in 2007, he piled up 215 goals and 515 assists in 962 regular-season games and 124 points in 156 career playoff games, helping the Bruins reach the final three times.

He said those 2011, 2013 and 2019 playoff runs stick out but added, “Truthfully I love every Bruins team that I’ve been a part of.”

Playing in Europe would open up Krejci to represent the Czech Republic at the 2022 Winter Olympics in Beijing if the NHL does not participate.