Inhibition of Mediator kinases CDK19 and CDK8 suppresses androgen-independent in vivo growth of castration-resistant prostate cancers via castration-induced transcriptional reprogramming in tumor and stromal cells. Here, CDK8 is linked to neoplasm.