This study demonstrated that DAPA treatment significantly reduced myocardial fibrosis, restored cardiac function, and inhibited the HMGB1/RAGE signaling activity in AF. Here, HMGB1 is linked to Myocardial fibrosis.