The present invention relates to a compound of formula (I) inhibiting the activity of an anti-apoptotic Bcl-2 protein, a composition containing said compound and a method of treating a disease in which an anti-apoptotic Bcl-2 protein is expressed. (I)