Disclosed are compounds which are nuclear receptor modulators that can act as antagonists to the androgen receptor, for example, a compound of Formula I: wherein R1 to R5 and X1 to X5 are as described herein, as well as pharmaceutically acceptable salts, solvates, and stereoisomers thereof. Pharmaceutical compositions comprising such compounds, as well as methods of use, and treatment for cancers, including prostate cancers, other nuclear receptor mediated cancers, and other conditions, are also disclosed.