The present invention relates to novel triterpene derivatives of formula (I); and pharmaceutically acceptable salts thereof, wherein R
1
, R
2
, R
3
, R
4
, and ring are as defined herein. The invention also relates to novel triterpene derivatives, related compounds, and pharmaceutical compositions useful for the therapeutic treatment of viral diseases and particularly HIV mediated diseases.