President Trump expressed his condolences to the families of two students who were killed in a shooting at a Kentucky high school on Tuesday.

“Earlier today, I spoke with @GovMattBevin of Kentucky regarding yesterday’s shooting at Marshall County High School. My thoughts and prayers are with Bailey Holt, Preston Cope, their families, and all of the wounded victims who are in recovery. We are with you!” the president tweeted.

Two students were killed and 17 were injured in the shooting at Marshall County High School in Benton, Ky. One of the students, a 15-year-old female, was pronounced dead at the scene, and the second, a 15-year-old male, died at the hospital.

The shooter, a male, was a 15-year-old student at the high school, Kentucky Gov. Matt Bevin said Tuesday.

Trump was criticized for not addressing the Kentucky school shooting sooner, particularly after Justin Trudeau, Canada’s prime minister, said he reached out to Bevin on Tuesday evening to express his condolences.

“I’ve spoken with Kentucky’s @GovMattBevin to offer condolences on behalf of Canadians for today’s shooting in Benton. Our hearts go out to Kentuckians, and to all those affected by this tragedy,” Trudeau tweeted.