and was a congress representative for the department of magdalena