The present invention provides a compound represented by formula (I) below, or a pharmaceutically acceptable salt thereof, which, having histamine H3 receptor antagonist or inverse agonist activity, is useful in the prophylaxis or therapy of metabolic diseases, circulatory diseases, or nervous system diseases.