Her dream was to watch a soccer match from a stadium in Iran, where women are barred from attending most sports events.

So Sahar Khodayari, 29, sneaked into Azadi Stadium, Tehran’s main sporting venue. But she was arrested.

Sentenced to six months in prison, she set herself on fire in front of the courthouse on Sept. 2. She died in a Tehran hospital this week from severe burns covering 90 percent of her body.

Her death has sparked an outcry from Iranian and international soccer players.

Many Iranians, including a former captain of the national team, are calling for a boycott of soccer games until the ban on women attending matches is lifted. Several officials expressed shock and outrage at what had happened to Ms. Khodayari.