The present invention provides novel compounds and pharmaceutical compositions containing the same, the novel compounds having both of angiotensin II acceptor antagonistic activity and PPARγ activating activity, and being useful as prophylactics and/or therapeutic drugs for hypertension, cardiopathy, atherosclerosis, type II diabetes, diabetes complication, metabolic syndrome and the like.The present invention relates to a compound represented by the following formula (I) or a salt thereof, or a solvate of the same, and a pharmaceutical composition containing the same.(wherein ring A represents a pyridine ring, ring B represents a tetrazole ring or an oxadiazole-5(4H)-one ring, X represents C-R5or a nitrogen atom, R1represents a C1-6alkyl group, R2represents a C1-6alkyl group or a C3-8cycloalkyl group, R3, R4and R5respectively independently represent a hydrogen atom, a halogen atom, a C1-6alkyl group, a halo C1-6alkyl group or a C1-6alkoxy group which may be substituted.)本發明係提供兼具備血管收縮素II接受體拮抗作用及PPARγ活化作用,且作為高血壓症、心臟疾病、動脈硬化症、第2型糖尿病、糖尿病性併發症、代謝症候群(metabolic syndrome)等之預防及/或治療劑有用之新穎化合物及含有該化合物之醫藥組成物。本發明係有關下述通式(I)表示之化合物或其鹽或該等之溶劑合物、及由含有該化合物而成之醫藥組成物:[式中,環A表示吡啶環,環B表示四唑環或二唑-5(4H)-酮環,X表示C-R5或氮原子,R1表示C1-6烷基,R2表示C1-6烷基或C3-8環烷基,R3、R4、R5各自獨立地表示氫原子、鹵素原子、C1-6烷基、鹵素C1-6烷基或可具有取代基之C1-6烷氧基]。