This invention provides a novel compound having both angiotensin II antagonisim and PPARr activation, and useful as a prophylactic agent and/or treating agent for hypertension, cardiac, atheroscherosis, type 2 diabetes, diabetic complication, metabolic syndrome and the like, and a pharmaceutical composition comprising the compound. This invention is directed to the compound represented by the following general formula (I), salt thereof or solvate thereof, and a pharmaceutical composition comprising the compound. [wherein, ring A represents a pyridine ring, ring B represents a tetrazole ring or an oxadiazol-5(4H)-one ring, X represents C-R5 or a nitrogen atom, R1 represents a C1-6 alkyl, R2 represents a C1-6 alkyl or a C3-8 cycloalkyl, R3, R4, R5 each independently represents a hydrogen atom, a halogen atom, a C1-6 alkyl, a halo-C1-6 alkyl or a C1-6 alkoxy which may have substituents.]本發明提供兼具有血管收縮素II受體拮抗作用及PPAR γ活化作用,有用於作為高血壓症、心臟疾病、動脈硬化症、2型糖尿病、糖尿病性合併症、代謝症候群等之預防及/或治療劑之新穎化合物及含有該化合物所成之醫藥組成物。本發明係有關下述通式(I)表示之化合物、其鹽或該等之溶劑合物及含有該化合物所成之醫藥組成物。[式中,環A表示吡啶環,環B表示四唑環或噁二唑-5(4H)-酮環,X表示C-R5或氮原子,R1表示C1-6烷基,R2表示C1-6烷基或C3-6環烷基,R3、R4、R5各自獨立,表示氫原子、鹵素原子、C1-6烷基、鹵C1-6烷基或可具有取代基之C1-6烷氧基]。