S o Peter was held in prison. But the church kept praying to God for him.
So Peter was kept in the prison, but prayer for him was being made fervently by the church to God.