Untreated atrial septal defect (ASD) can lead to pulmonary arterial hypertension and Eisenmenger syndrome like in this case.