Brandon Gonzalez, a 17-year-old Thomas Jefferson High School senior, was driving east on South 196th in Kent when he collided with a deputy early Sunday morning.
Investigators say the deputy was heading south in his patrol car on 68th when both vehicles entered the intersection at the same time.
"At this point our deputy said his light was green," said Cindi West with the King County Sheriff's Office. "We can't talk with the other driver, but one of the passengers in the other vehicle said they had been racing another vehicle prior to the accident."
Gonzalez's two passengers were treated and released at the scene, and the deputy suffered a broken wrist. Gonzalez was taken to Harborview Medical Center, where doctors determined he likely wouldn't survive.
On Monday, faculty and fellow students were shocked to hear the news. Assistant principal Adrienne Chacon said Gonzalez was involved in a number of school programs, including the Heritage Spanish program and the Latino Student Union.
"Brandon's a pretty amazing kid," she said. "He is one of those people who is going to be remembered for a long because he was such a good friend to so many people."
Parents will be notified about the accident Monday night, and counselors will be available to students on Tuesday.
Investigators are still trying to determine who was at fault in the crash.