This invention relates to a diamino compound represented by the formula [1]:in which G1 is a trivalent organic group of 2-20 carbon atoms, G2 is independently a single bond, -COO-, -OCO-, -NHCO-, -CONH-, -O-, -O-, or -CO-, G3 is a single bond or an alkylene group of 1-20 carbon atoms, X and Y are each independently a hydrogen atom, a fluorine atom, a chlorine atom, a cyano group, a nitro group, or an alkyl group, a haloalkyl group, an alkoxy group or a haloalkoxy group, each alkyl or alkoxy group having 1-12 carbon atoms, or a cycloalkyl group of 3-8 carbon atoms or a trans-4-alkylcyclohexyl group of 9-14 carbon atoms, and m is an integer of 0-3; a polyamic acid and polyimide using the said diamino compound, an aligning film using the said polyimide and a liquid crystal display device using the said aligning film. The aligning film is prepared by irradiation of a polarized ultraviolet light to the polyimide film.