The assailant died in a hail of gunfire after the attack , which occurred in the town of Madain , also known as Salman Pak , about 15 miles south of Baghdad in an area with a history of Sunni-Shiite tension .