BAKERSFIELD, Calif. (KGET) — Firefighters appeared to have gained control and put out a massive fire at a building on Chester Avenue in Downtown Bakersfield.

Multiple fire crews were called to the area of 21st Street and Chester Avenue at around 10:15 p.m. 17 News photojournalist Juan Corona said the fire appeared to be at a two-story building near 20th Street and Chester Avenue.

The Bakersfield Fire Department said that the building was a vacant commercial structure.

The three-alarm firefight lasted several hours with multiple engines at the scene. Fire crews used at least two ladders to pour water over the flames. As of 2 a.m. crews remained at the scene pouring water, but flames and smoke appeared to be under control.

The cause of the fire is under investigation, according to the fire department.

Anyone with information is urged to call the Bakersfield Fire Investigations Unit at 661-326-3691.

We will update this story as we learn more information.