We have uncovered that aberrant upregulation of GI master regulators HNF4G and HNF1A alters enhancer landscape and chromatin accessibility conducive to the expression of GI-specific transcriptome in prostate cancer cells. Here, HNF1A is linked to prostate cancer.