The present invention relates to novel acrylamide compounds of formula (I): wherein A, X, R1, and Y are as defined herein, and their pharmaceutically acceptable salts and process of their preparation. The compounds of formula (I) are useful in the treatment of various disorders that related to Histamine H3 receptors.