Loayza-Tamayo was detained by the National Counter-Terrorism Bureau ("DINCOTE"). While detained, she was threatened with torture and was repeatedly raped in an effort to force her to confess to belonging to the Peruvian Communist Party ("Shining Path"). She was charged and found guilty of treason and was held in solitary confinement. She filed a complaint with the Inter-American Commission of Human Rights, alleging numerous human rights violations and requesting her release. The Commission, unable to reach a decision, submitted the case to the Inter-American Court. The Court held that Peru violated Articles 5, 7, 8(1), 8(2) and 8(4) of the American Convention on Human Rights, in relation to Articles 25 and 1(1) thereof. The Court ordered that Loayza-Tamayo be released, and that she and her next of kin be compensated for any relevant expenses.