A court here has sentenced an assistant director of factories to four years in prison and slapped on him a fine of Rs 4 lakh for accepting bribes from the owners of factories. H Suresh, who was previously serving as an assistant director of factories in the sub divisional office-II at Kottara in the city and presently working in Mysuru, is the convicted official.