ISLAMABAD, Pakistan — The Supreme Court announced Thursday that it would uphold the acquittals of five of the six men accused in the gang rape of Mukhtar Mai, the woman who gained international recognition and emerged as a symbol of voiceless and oppressed women in Pakistan.

A three-member bench of the Supreme Court, led by Justice Shakirullah Jan, upheld a decision by the Lahore High Court and acquitted five of the accused in a judgment that rested on flaws in the prosecution’s account of the rape and discrepancies in Ms. Mukhtar’s statements during initial investigations.

The five men who were acquitted have been jailed for years already in connection with the rape, which occurred in 2002, and are expected to be released this week. The sixth, Abdul Khaliq, is to complete a life sentence.

Ms. Mukhtar was raped on the orders of the village council in Meerwala, a dusty farming village in Punjab Province in a case that jolted the country and ignited international outrage.