A court in Peru revoked parole for American activist Lori Berenson and ordered that she be arrested Wednesday and sent back to prison to finish the last five years of her 20-year prison sentence for aiding leftist rebels .