Caracas Venezuela
An demonstrator throws a gas canister in Venezuela's capital city of Caracas in April 2014 Christian Veron/Reuters

Venezuela's capital city of Caracas has become the world's most dangerous city after toppling the Honduran city of San Pedro Sula, which took the top spot for four consecutive years. San Pedro Sula was ranked second after a decrease in its homicide rate.

El Salvador's capital city of San Salvador was placed third, while the Mexican city of Acapulco and Maturin in Venezuela were ranked fourth and fifth respectively. The ranking of the top 50 most dangerous cities, published by the Mexico Citizens Council for Public Security, features 41 cities from Latin America and 21 from Brazil, which is scheduled to host the Olympics Games this summer.

The ranking is based on the number of homicides per 100,000 inhabitants.

Mexico gang
Picture of a card with a warning left by a gang next to a body found dead at 6 de Enero neighbourdhood in Acapulco, Guerrero, Mexico Pedro PARDO/AFP/Getty Images

South Africa's Cape Town, Durban, Nelson Mandela Bay and Johannesburg were ranked 9th, 41st, 42nd and 47th on the list, while St Louis in the US, Baltimore, Detroit and New Orleans took the 15th, 19th, 28th and 32nd spot.

A protester throws a gas canister back at police during clashes at North Ave and Pennsylvania Ave in Baltimore, Maryland in April, 2015 ERIC THAYER/reuters

"Narcotics are the biggest black market earner of all. Estimated to be worth more than three hundred billion dollars a year, the global industry has pumped huge resources into criminal empires decade after decade," Ioan Grillo, author of Gangster Warlords: Drug Dollars, Killing Fields, and the New Politics of Latin America, told Business Insider.

"So that amount of money, $100 billion a year, 10 years, a trillion dollars, 30 years, $3 trillion. That amount of money pumps in these organizations ... buying more guns, paying more assassins, bribing more police, bribing more politicians ... and that is why the region right now, Latin American and the Caribbean, are at a boiling point," Grillo said.