A polymer support immobilized acidic ionic liquid was prepared by copolymerization of 3-vinyl-1-(4-sulfonic acid)butylimidazolium hydrogen sulfate with styrene in the presence of benzoyl peroxide and its primary application as a solid acidic heterogeneous catalyst to the synthesis of Hantzsch 1,4-dihydropyridines through a one-pot three-component reaction of aromatic aldehydes, ethyl acetoacetate and ammonium acetate was investigated. The results showed that this heterogeneous catalyst has high catalytic activity and the desired products were obtained in good to high yields. Moreover, the catalyst was found to be reusable and a considerable catalytic activity still could be achieved after third run.