President Biden and First Lady Jill Biden will travel to Buffalo, New York, after an 18-year-old allegedly opened fire at a grocery store on Saturday afternoon, killing 10 people and injuring three others.

The White House announced that the trip will be made on Tuesday.

"On Tuesday, May 17, the President and the First Lady will travel to Buffalo, New York to grieve with the community that lost ten lives in a senseless and horrific mass shooting," the White House said in a statement.

Buffalo Police Department Commissioner Joseph Gramaglia said on Saturday that an 18-year-old White male allegedly committed the shooting at Tops Friendly Market and was live-streaming it on an online social media platform, which officials later identified as Twitch. The grocery store is located in a predominately Black neighborhood in the city.

BUFFALO SHOOTING: 10 DEAD IN MASS NY KILLING STREAMED ON SOCIAL MEDIA PLATFORM TWITCH

First Lady Jill Biden speaks as President Biden, right, hosting a Cinco de Mayo reception in the Rose Garden of the White House in Washington, D.C. on Thursday, May 5, 2022. (Photo by Yasin Ozturk/Anadolu Agency via Getty Images)

First Lady Jill Biden speaks as President Biden, right, hosting a Cinco de Mayo reception in the Rose Garden of the White House in Washington, D.C. on Thursday, May 5, 2022. (Photo by Yasin Ozturk/Anadolu Agency via Getty Images) (Yasin Ozturk/Anadolu Agency via Getty Images)

A spokesperson for Twitch told Fox News that the video was taken down two minutes after the violence began.

The shooter, identified as Payton Gendron, 18, traveled from Conklin, New York, to Buffalo. The drive from Conklin to Buffalo is almost three and a half hours.

buffalo mass shooting suspect payton gendron

BUFFALO, NY - MAY 14: A small vigil set up across the street from a Tops grocery store on Jefferson Avenue in Buffalo, where a heavily armed 18-year-old White man entered the store in a predominantly Black neighborhood and shot 13 people, killing ten, Saturday, May 14, 2022.  (Matt Burkhartt for The Washington Post via Getty Images)

During a press conference on Saturday, officials said they believe the attack was racially motivated, pointing to a roughly 180-page manifesto that the shooter wrote and posted before allegedly shooting a total of 13 people. The manifesto included a plan for the attack.

BUFFALO MASS SHOOTING: TIMELINE FOR GROCERY STORE ATTACK THAT POLICE SAY WAS RACIALLY MOTIVATED

buffalo mass shooting suspect payton gendron

A crowd gathers as police investigate after a shooting at a supermarket on Saturday, May 14, 2022, in Buffalo, N.Y. Multiple people were shot  at the Tops Friendly Market.  Police have notified the public that the alleged shooter was in custody.  (AP Photo/Joshua Bessex)

Gendron wrote in the manifesto that he identifies as a White Supremacist, stating that he fears White people are in the process of being replaced by people of other races.

Eleven of the victims in the attack are Black and two of them are White, according to authorities.

The 18-year-old suspect was given first-degree murder charges and pleaded not guilty in front of a judge on Saturday evening. 

CLICK HERE TO GET THE FOX NEWS APP

Buffalo shooting Payton Gendron Tops

Mourners have erected multiple memorials around the area of the Tops supermarket, where 10 people were killed and there others were wounded during Saturday's mass shooting. (Fox News Digital/Michael Ruiz)

Attorney General Merrick Garland announced on Saturday night that the Department of Justice is investigating the Buffalo mass shooting as a "hate crime and an act of racially-motivated violent extremism."

"The Justice Department is investigating this matter as a hate crime and an act of racially-motivated violent extremism. The Justice Department is committed to conducting a thorough and expeditious investigation into this shooting and to seeking justice for these innocent victims," Garland said in a statement.

President Biden and First Lady to visit Buffalo after grocery store mass shooting leaves 10 dead