BROOKLYN, N.Y. — At least three people have been treated for injuries after a fire broke out early Monday morning inside a Brooklyn apartment building.

Flames could be seen shooting out of the windows of the building located at 2819 Tilden Avenue in Flatbush.

The FDNY says the fire broke out on the second floor shortly before 5 a.m.

Fire officials say one person was taken to the hospital and two others were treated for injuries at the scene.

The FDNY says two firefighters were also being evaluated.

The cause of the fire was not immediately known.