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