The Latin American country has long been plagued by gang violence and overcrowded prisons.