Puella Magi Madoka Magica rocked the entire anime community when it was first released back in 2011. Quite possibly Gen Urobuchi's most successful work, Madoka Magica introduced anime fans to a bright, colorful world that wasn't what it seemed. By the end of episode three and after witnessing Mami Tomoe's demise, viewers were made painfully aware of what type of anime Madoka Magica was shaping up to be—but this should have been expected with the Urobutcher behind the wheel, a moniker he earned with his often hard-hitting, blood-soaked narratives. When Gen is involved, there's likely to be a good amount of death. And although he already put the magical girl quintet through the wringer, he wasn't quite done with them yet.
Source:https://www.cbr.com/madoka-magica-rebellion-best-ending/