A teenager critically injured in a car crash in Manorville that took his best friend’s life last weekend died Friday morning, his family, police and school officials said Friday.

Tyrese Ramseur, 17, of Bellport, a senior and member of the basketball team at William Floyd High School in Mastic Beach, was to graduate next month. Suffolk police on Friday confirmed that Ramseur had died of injuries sustained in the crash.

The teenager’s father, Gerard Jamieson, said the family was “sad and broken up” Friday night.

But he added that the family treasures the times they shared with the aspiring pharmacist who was undecided on which college he would attend.

“We have the good memories we had with our son — and there were a lot of them,” Jamieson said. “He was a very good kid, a very good man on his way to college.”

In a statement on its website, the district said Ramseur was “loved by many.”

advertisement | advertise on newsday

“It is with deep sorrow and heavy hearts that the entire William Floyd school community mourns the loss of one of our own . . .” the statement said. “Crisis counselors continue to be available to our students and staff and district flags have been ordered to half staff. His family and friends are in our thoughts and prayers.”

Ramseur is the second 17-year-old set to graduate high school to die of injuries from the May 20 crash.

Isaiah Perez, of Shirley, a senior at Longwood High School in Middle Island, was pronounced dead at Brookhaven Memorial Hospital Medical Center in East Patchogue shortly after the crash.

The teenagers were passengers in a 1995 Mitsubishi sedan driven by Edenilson Trejo, also 17, of Shirley, police said. The car went out of control shortly before 9 p.m., police said, and veered off westbound North Street near South Street and into a tree. Trejo survived.

Ramseur’s mother, Tiffany Ramseur-Jamieson, has said her son had just finished his shift at a Taco Bell restaurant in Shirley on Saturday night. The three teenagers were friends, Ramseur-Jamieson said, although she didn’t know Trejo.