She was initially sentenced to death by stoning for adultery, prompting an international outcry.