CNN reported that Kenyan President Uhuru Kenyatta announced that the gunmen who ambushed the mall Saturday were taken down in a standoff with Kenyan security troops.
"We confronted this evil without flinching, confronted our deep grief and pain, and conquered it," Kenyatta said.
Five of the gunmen were killed and eleven others have been arrested.
During the four days, three floors of the mall collapsed, and 61 civilians and six security officers were killed. Over 60 others have been hospitalized and 65 are still unaccounted for.
The gunmen are believed to be members of the Al-Shabaab terrorist group, which recruits members as far as the United States and Canada.
"These cowards will meet justice as will their accomplices and patrons wherever they are," Kenyatta said.
The Washington Post reported that the group announced that the siege was in response to Kenyan troops being sent to Somalia.
The President also praised those who came to donate blood and money to the victims.
"The incident which we now put behind was certainly not welcome," he said. "Yet it has strengthened us and renewed our resolve to live as one strong, open, stable, democratic and prosperous republic where peoples of all races cultures and faiths pursue happiness together.”