A 5.1 magnitude earthquake struck Colombia's Santander department, prompting evacuations in Bogotá and Bucaramanga.