BROOKLYN - Two police officers are being hailed as heroes for their quick response to a fire in a Williamsburg apartment building this afternoon.

The fire started at 32 Scholes St., between Lorimer Street and Union Avenue, at around 1 p.m. The flames engulfed the back of a four-story apartment building. The fire chief says the blaze was knocked down in 45 minutes.

Fire officials say the two police officers were the first to respond and help save people.

One family says they were in their second-floor unit with a 1-year-old baby, an elderly woman and a disabled woman, when the officers risked their lives to rescue them.

Authorities say the officers were taken to Woodhull Hospital due to difficulty breathing, and that their injuries are not serious. However, it comes on the heels of the death of officer Dennis Guerra following a fire in Coney Island last weekend. 

The cause of the fire is still under investigation.