Hasan Kazi, 67, of Laisteridge Lane, was also told the pay £170 Victim Surcharge and costs to Bradford Council of £2,700.
The court heard (Friday, 7 July) that Kazi was the manager of a block of 11 flats at 61 – 63 Ashgrove, near Bradford University.
Prosecutor Syam Soni said that in July last year an Environmental Health Officer from Bradford Council inspected the property and found various defects. Ten of the flats were occupied at the time.
The officer found that the means of escape in case of fire were obstructed by a bicycle, large electrical appliances, general rubbish and a large plywood board and a ladder.
Further inspections of flats found a smoke detector hanging off the ceiling, exposed electrical socket connectors, a dangerous light fitting and various property defects.
There were also numerous holes around the filthy property allowing pests to come and go.
In one of the flats the ceiling light in the bathroom was dangerously wired and cracks in the bath had been repaired with tape, said Mr Soni.
Mr Kazi pleaded guilty to failing to ensure all means of escape from fire were kept free from obstruction, failing to ensure that the internal structure was maintained in good repair, failing to ensure that fixtures and fittings were maintained in good repair and failing to ensure his name address and telephone number were displayed clearly at the property.
After examining photographs of the conditions of the flats, the magistrates said that the property looked like a slum and the conditions were disgraceful.
Following the case, Coun Alex Ross-Shaw, Bradford Council’s Executive Member for Regeneration, Planning and Transport, said: “Anyone renting out property has a serious responsibility to ensure that their tenants are safe and free from health hazards.
“They also need to make sure that the property is maintained in good repair and meets the standards required.
“In this case, not only was the property in a bad state it also put the lives of residents at risk. We will not hesitate to put irresponsible landlords before the courts.”