Genetic variants in HNF4A and HNF1A are known to be causal for MODY (through a beta cell defect) and have also been robustly associated with T2D risk, implicating a clear role in regulating pancreatic beta cell function. Here, HNF1A is linked to type 2 diabetes mellitus.