A light-resistant polyaniline light-shielding film, comprising a thin polyaniline film in which Lewis acid is contained in an amount of 0.1 to 5 mol % per monomer unit of the polyaniline. The thin film is used as a black matrix for a liquid crystal display device. The device thus obtaine