NOVELTY - A nitrogen-containing heterocyclic compound (I) is new.    USE - New nitrogen-containing heterocyclic compound is used in organic electronic device e.g. organic light-emitting device, organic solar cell, organophotoreceptor, and organic transistor (all claimed).    ADVANTAGE - The new nitrogen-containing heterocyclic compound provides organic electronic device having excellent luminous efficiency, thermal stability, and durability, and low drive voltage. The compound has wide band gap, excellent hole stability, and deep high occupied molecular orbital level.    DETAILED DESCRIPTION - A nitrogen-containing heterocyclic compound of formula (I), is new.    X1=N or CR3;    X2=N or CR4;    X3=N or CR5;    X4=N or CR6;    Y1=N or CR7;    Y2=N or CR8;    Y3=N or CR9;    Y4=N or CR10;    R3-R10=-(L)p-(Y')q;    p=0-10;    q=1-10;    2 or more of adjacent groups of R3-R10=monocyclic or polycyclic ring;    L=oxygen, sulfur, or nitrogen, phosphorus, arylene, alkenylene, fluorenylene, carbazolylene, or heteroarylene compound N, O and/or S (all optionally substituted);    Y'=H, deuterium, halo, nitrile, nitro, hydroxy, or cycloalkyl, alkoxy, aryloxy, t-alkyloxy, t-aryloxy, alkylsulfoxy, arylsulfoxy, alkenyl, silyl, boron group, alkylamino, aralkylamino, arylamino, heteroarylamino, aryl, fluorenyl, carbazolyl, or heterocyclic group containing N, O and/or S (all optionally substituted);    R1+R2=optionally substituted aliphatic ring, or aromatic or heteroaromatic monocyclic or polycyclic ring, or do not form ring (sic);and    R1,R2=3-40C cycloalkyl, 6-60C aryl, 2-40C alkenyl, or 2-60C heterocyclyl (all optionally substituted).    X1-X4 and Y1-Y4 are not N simultaneously. X1-X4 and Y1-Y4 are not CR3-CR10 simultaneously. At least one of R3-R10 is substituent other than H. An INDEPENDENT CLAIM is included for organic electronic device consisting of organic layer(s) containing compound (I), arranged between electrodes (2,7).    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic view of an organic light-emitting device as the organic electronic device.    Substrate (1)    Electrodes (2,7)    Hole injection layer (3)    Hole transport layer (4)    Light-emitting layer (5)    Electron transport layer (6)