Two people were killed and five more injured in a Tallahassee, Florida, yoga studio before the gunman killed himself.

Tallahassee Police Chief Michael DeLeo said that the shooter, 40-year-old Scott Paul Beierle, shot six people after barging into the studio.

Another man was pistol-whipped as he tried to tackle the shooter shortly before he turned the gun on himself.

Beierle is described as being a loner who had a history of arrests for grabbing women at the  Florida State University.

DeLeo added that people inside the hot yoga class appeared to have fought the gunman, trying to save themselves. Beierle was dead before police arrived on the scene.

The two casualties are identified as Nancy Van Vessem, 61, and Maura Binkley, 21.

When officers arrived, they found six people shot and one person that had been pistol whipped.

Police said two victims were in stable condition and three others had been released from the hospital. Of the two hospitalized, one was shot nine times, and the other had a bullet go through her body.

Kristin Jacobs, a Democratic politician who represents Broward County witnessed the aftermath at a nearby bar.

“A girl ran into the bar. She could hardly talk. She was hyperventilating. I heard her say ‘shooter.’ Two other women came in, and I kept hearing the word ‘shooter,’” Jacobs said the Tallahassee Democrat.

Jacobs also came across the pistol-whipped victim. “Many people are alive because this guy rushed the shooter,” Jacobs told the Tallahassee Democrat, saying the man had a “bloodied head.”

The gunman in Tallahassee acted alone, according to DeLeo, and that there is no threat to the community. Authorities are investigating all possible motives though it’s unclear what may have sparked the attack.

50 CELEBRITIES WHO DIED IN 2018 – TRIBUTE SLIDESHOW

Tallahassee Mayor and Governor Candidate Andrew Gillum has halted his campaign to direct his attention towards the shooting. He met the victims Friday night after a Shabbat Service honoring the 11 people killed a week ago in a Pittsburgh synagogue.