Except for the third use of the word "they" which refers to the people that Paul and Barnabas had led to the Lord, all the words "they" here refer to Paul and Barnabas.
Possible meanings are 1) "Paul and Barnabas entrusted the elders they had appointed" or 2) "Paul and Barnabas entrusted the leaders and other believers"