LOS ANGELES -- Chase Utley will retire from baseball at the end of this season, capping off a 16-year career that included a World Series championship with the Philadelphia Phillies and an elder-statesman role with the Dodgers.

The six-time All-Star said he's leaving to spend more time with his wife and two young sons.

Utley, 39, announced his decision at a jammed news conference in the basement of Dodger Stadium on Friday, with several of his teammates surprising him by crowding into the small, steamy room.

"I just want you guys to know that I've signed a five-year extension,'' Utley deadpanned, drawing laughter from manager Dave Roberts, Kenley Jansen, Justin Turner, Alex Wood, Andrew Toles, Joc Pederson, Logan Forsythe and Ross Stripling.

Chase Utley announced during a Friday news conference that he will retire from baseball at the end of this season to spend more time with his family, capping a 16-year career that included a World Series ring with the Phillies and six All-Star selections. AP Photo/Jae C. Hong

Three-time Cy Young Award winner Clayton Kershaw sat on the floor in a corner, with Matt Kemp, Rich Hill, Corey Seager, Austin Barnes and Kenta Maeda joining him.

Pitching coach Rick Honeycutt looked on, while hitting coach Turner Ward used his phone to capture video. Yasiel Puig hung in the back, and 92-year-old Dodgers pitching great Don Newcombe listened in.

Utley has tried to avoid the kind of attention he received Friday for most of his career. He always has preferred to let his play on the field speak for him, although among his teammates he is generous with his knowledge of the game. They in turn marvel at his physical condition.

Utility player Enrique Hernandez calls him "Grandpa.''

"He's changed the way I see the game, he's changed the way I eat, he's changed the way I prepare in the offseason from now on and the way I prepare during the season every day,'' Hernandez said. "From now on if I end up having a pretty successful career, whether he likes it or not, he's going to have had something to do with it."

Hernandez also posted a tribute to Utley on Instagram.

The 2019 season would have been the final year of a two-year, $2 million contract for Utley.

"I'm no spring chicken. My hair is going gray. There's a lot of things letting me know it's time,'' Utley said.

The second baseman made his name with the Phillies, earning five All-Star berths and winning four Silver Slugger awards. He helped the team to a World Series title in 2008, combining with shortstop Jimmy Rollins as a standout double-play duo.

Utley has a .276 career average with 259 home runs. He is renowned for his base-stealing ability, with 153 steals in 175 attempts. In 2006, he had 32 homers among his 203 hits, scored a National League-best 131 runs and finished seventh in the MVP voting.

The Phillies traded Utley to the Dodgers in August 2015, bringing him back to his roots. He was born in nearby Pasadena and played at Long Beach Polytechnic High School and UCLA.

The move west forced him to transition into a role he described as a "part-time player.''

"I'm also a part-time strength coach, a part-time pitching coach, occasionally a part-time catching coach, as well as a part-time general manager,'' Utley said. "But the thing I'm having the most difficult time with is being a part-time dad. That's really the reason I'm shutting it down, because I'm ready to be a full-time dad.''

Utley said he has yet to tell his sons, 6-year-old Ben and 3-year-old Max.

"They've asked me a few times, 'Dad, how much longer are you going to play? Why do you have to go to the field today?''' Utley said. "That conversation will come soon. I think it will be a good conversation.''

In 2015, Utley broke the leg of Mets shortstop Ruben Tejada with a hard slide into second base in Game 2 of the National League Division Series. Utley was suspended for Games 3 and 4 of the series.

Hernandez's favorite memory of Utley involves the pregame introductions for Game 3 in New York.

"They announce his name and the camera stayed on his face for like two minutes and there were 50,000 people booing from the bottom of their hearts and he didn't even flinch,'' Hernandez said. "Obviously, they had a good reason for it, but that was pretty awesome and shows you who he is.''

Utley has been influential in the clubhouse with the Dodgers' young roster. But his role has been reduced from starter in 2016 to platoon player last year to part-time starter and pinch hitter this season.

Utley's Dodgers teammates surprised him by crowding into a cramped room to watch his news conference. "I just want you guys to know that I've signed a five-year extension," he deadpanned. AP Photo/Jae C. Hong

"Probably the most well-respected guy in our clubhouse, just the way he treats people, his career, how consistent he's been,'' Roberts said.

Utley has started 30 of 58 games this season, hitting .231 with one homer and 14 RBIs going into Friday night's game against the Los Angeles Angels.

He had contemplated over the past few years about how he wanted to retire: announce it at the start of a season or go with his preference to "ride off into the sunset.''

"The more I thought about it, the more I realized that I didn't think it was fair,'' he said. "It wasn't fair for the people that had helped me become the player and person that I am today. Getting this out of the way now, getting this off my chest, I'll be at ease a little bit more.''

Utley will surely be feted when the Dodgers visit the Phillies from July 23 to 25. Shane Victorino and Jayson Werth, his former teammates from the 2008 championship team, also recently announced their retirements.

Utley said the upcoming trip to Philadelphia played into the timing of his announcement.

"I've had so much support over the years,'' he said, singling out Phillies fans as "amazing.''

Angels All-Star Mike Trout grew up in New Jersey and cheered Utley and the 2008 Phillies.

"It's pretty remarkable how he kept the same swing for so long,'' Trout said. "He's played the game in the right way for so long, and he's a gamer. Always running out ground balls and just plays the game hard every day.''

Noting the irony of holding court in the spotlight, Utley wrapped things up in 10 minutes, stating that there was a team meeting soon and he hadn't been late to one in his career.

And then, in keeping with his understated demeanor, he was gone.

The Associated Press contributed to this report.