Provided herein are inhibitors of CYP11B, CYP17, and/or CYP21 enzymes of Formula (Z), (IX), (X), (XI), (XII), (XIII), (XIV), (XV), (XVI), or (XVII). Also described herein are pharmaceutical compositions that include at least one compound described herein and the use of a compound or pharmaceutical composition described herein to treat androgen-dependent diseases, disorders and conditions. Formula (Z).