Herat's Provincial Court sentenced Wakil Ahmad, 35, who is accused of raping two minor girls, up to 50 years in jail.
According to law, the maximum sentence for a rapist is 20 years in prison. However, Ahmad raped two girls and attempted to rape another and was given a sentence up to 50 years.
Fariha, 8, and Roshan, 11, were raped as they took their animals to the desert for feeding two months ago. The girls were hospitalized for several days after the incident.
Ahmad attempted to rape another woman and was arrested with the help of local residents.
"According to article number 158 of Afghanistan's Criminal Law, he is sentence to 50 years in jail and must spend up to 20 years in prison," Ghulam Rasool Mansoor, the Head of Herat's Provincial Court said during the hearing.
Ahmad dismissed the allegations and said that they were "only allegations." He added, "I am not satisfied with court's verdict."
Police have also arrested a mullah in the north -central Samangan province for allegedly raping a teenage girl.