23 Again, after the Twelve Apostles had been cast into prison by the chief priests for preaching Christ, and had been marvellously delivered from it at night by an Angel, and were brought before them in the judgment hall from the Temple, they fearlessly rebuked them in their discourse to them concerning Christ, and added this, that God has also given His Holy Spirit to them that obey Him. And when they had been scourged, they went their way rejoicing, and ceased not to teach and preach Jesus as the Christ.
Source: Catechetical Lectures (New Advent)