Serum magnesium related inversely to prevalent AF, lung function (FEV1) and markers of inflammation (IL-6), endothelial dysfunction (vWF) and cardiac dysfunction (cTnT, NT-proBNP), all markers of pathways involved in the pathogenesis of HF. Here, IL6 is linked to endothelial dysfunction.