About 20 gunmen stormed the al-Jawhara shopping center in the mainly Shia al-Jadeda area on January 11, after a car bomb exploded outside.
Security forces sealed off the area and then stormed the building, killing the assailants and freeing their hostages, an interior ministry spokesman said.
It is not clear who the gunmen were.
However, Sunni jihadist militants from ISIS have frequently target Shia districts of Baghdad.
According to police, two of the assailants detonated explosive belts they had been wearing, killing several hostages.
Two other gunmen were shot dead, and another four arrested, police say.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…