Abstract: The preset invention relates to a method for treating inflammation comprising administering a subject in need thereof with a therapeutically effective amount of polyenylpyrrole derivatives of formula (I) or a pharmaceutically acceptable salt thereof.