According to local media, the hostage-takers were demanding nearly $2 million, two armored vehicles and safe passage out of the city.
Security forces entered a supermarket in Cartagena and ended a hostage siege that had lasted 17 hours. Colombia's president said one hostage-taker had been killed.
Cartagena's mayor said all the hostages were"safe and sound"and would reunite with their families before undergoing medical checks.
The standoff gripped the Caribbean port, a city famed for its colonial walled old town, beach resorts and cruise-ship tourism.
About 20 people were believed to be held inside the building at the time of the assault. Roughly 30 people had been held when the siege began.
Ten of those initially seized had already been released during the 17-hour standoff, including several elderly women.
Several explosions were heard before security forces entered the building where the remaining hostages were believed to be held.
Shortly after midnight, a police helicopter hovered low over the shopping centre as security forces massed outside the supermarket, AFP reporters saw.
The demanded route led to Barranquilla, about 130 kilometres (80 miles) northeast of Cartagena.
Images broadcast by Colombian media and shared on social media appeared to show masked gunmen in tactical gear carrying long guns alongside zip-tied hostages inside the store.
De la Espriella appeared at the scene wearing fatigues and a sidearm while brandishing a walkie-talkie, and described the operation as a roaring success.
The siege unfolded on the 10th anniversary of Colombia's landmark peace accord with FARC guerrillas and during a series of attacks across the country.
Separately, the presidency said a"terrorist attack"on electrical infrastructure had disrupted power supplies in several southwestern departments and prompted additional measures to protect energy facilities.