Two U.S. cities have been rocked by mass shootings, killing 29 people in less than 24 hours.

In the early hours of Sunday morning, Connor Betts, 24, is said to have opened fire in a popular nightlife area in Dayton, Ohio, killing nine and injuring dozens with his .224 caliber gun, according to news reports.

Luckily, police officers were patrolling the area and their quick response time is said to have saved lives. The responding officers killed Betts when they arrived on the scene.

According to CBS, police were searching his home Sunday morning.

The Ohio shooting came only 13 hours after a young man opened fire in a crowded El Paso, Texas Walmart, leaving 20 dead and more than two dozen injured. The 21-year-old shooter is currently in police custody.

Minutes before the first 911 call, a hate-filled, anti-immigrant manifesto appeared online speaking of a “Hispanic invasion of Texas.”

The FBI has opened a domestic terrorism investigation into the Texas massacre, also investigating it as a potential hate crime.

President Donald Trump on Sunday weighed in on both shootings, writing in a tweet, “God bless the people of El Paso Texas. God bless the people of Dayton, Ohio.”

Earlier in the week, a 19-year-old shot and killed three people, including two children, at the Gilroy Garlic Festival in Northern California.