Disclosed is a novel compound having a xanthine oxidase inhibitory activity. Also disclosed is a pharmaceutical composition which contains such a compound as an active ingredient. Specifically disclosed is a nitrogen-containing heterocyclic compound represented by the general formula (I) below or the like, a pharmaceutically acceptable salt thereof, or a pharmaceutical composition containing any of them as an active ingredient.(I) (In the formula, Y<;SUP>;1<;/SUP>; represents N or C(R<;SUP>;4<;/SUP>;); Y<;SUP>;2<;/SUP>; represents N or C(R<;SUP>;5<;/SUP>;); R<;SUP>;4<;/SUP>; and R<;SUP>;5<;/SUP>; independently represent an alkyl group, a hydrogen atom or the like; one of R<;SUP>;1<;/SUP>; and R<;SUP>;2<;/SUP>; represents an optionally substituted aryl group, an alkoxy group or an optionally substituted heterocyclic group; the other one of R<;SUP>;1<;/SUP>; and R<;SUP>;2<;/SUP>; represents a haloalkyl group, a cyano group, a halogen atom or the like; and R<;SUP>;3<;/SUP>; represents a 5-tetrazolyl group or a carboxy group.)