Our results identified TRPS1 as a novel cofactor of PR-dependent recruitment by specifically binding to HDAC2, a member of corepressor complex, changing acetylation levels of the target gene RANKL, inducing its different expressions in different cancer cells. Here, HDAC2 is linked to cancer.