The present invention relates to new pentacyclic triterpenes, their preparation method and use. The compounds of the present invention could effectively treat psoriasis and selectively inhibit in vitro differentiation of the T H 1 and T H 17 cells, thereby could be used to treat the T H 1- or T H 17-mediated autoimmune diseases.