Faulty wiring is to blame for the three-alarm fire that tore through a Bronx building Sunday.

The FDNY says the bad wiring sparked flames in the attic of the six-story building located at 4769 White Plains Road in Wakefield.

It took more than 100 firefighters around two hours to get the fire under control. 

Three of them suffered minor injuries.