The E3 ubiquitin ligase CHIP binds the androgen receptor in a phosphorylation-dependent manner.