Iran’s Mehr News Agency cited one of Mirzakhani’s relatives as confirming her death on Saturday.
Firouz Naderi, a former Iranian director of Solar Systems Exploration at NASA, had also announced her death in an Instagram post earlier in the day.
Mirzakhani had recently been taken to hospital as her health condition worsened due to breast cancer. Cancerous cells had recently spread to her bone marrow. She had already been battling the disease for several years.
In 2014, Mirzakhani was awarded the coveted Fields Medal, also known as the Nobel Prize of mathematics. The 40-year-old, who used to teach at Stanford University, was also the first Iranian woman to be elected to the US National Academy of Sciences (NAS) in May 2016 in recognition of her “distinguished and continuing achievement in original research.”