When these things were completed by the apostles, and the multitude was increased by the preaching, and the number of the faithful was already growing great by the daily distribution; the high priest, he says, having risen, that is, being aroused and stirred by what was taking place, attacked them more violently, the Sadducees in particular viewing him as more inhuman for his rage against the resurrection they detested, while the apostles were accomplishing everything. For proclaiming Christ risen, and performing miracles in the name of the Risen One to bring people to faith, they showed that ...if the matter were false it would not have turned out so. Therefore, being therefore stung and preparing for the murder of the apostles, they for a time held them in the security of custody, not immediately bringing them to trial, while they themselves, through fear of detection, craftily sought repentance. Those men indeed acted so. But God, by the postponement wrought also by device, shamed those who had been wicked in vain, and rather confirmed the apostles by the removal from prison through a divine angel, and instructed them where and how they ought to continue unwaveringly. With the violent men meanwhile involved through ignorance in the perception of the angel, at the time when they postponed presenting the apostles for judgment, he did not show pity (for how could those stirred up to greater wrath have been more inclined to mercy?), but in order that first he might compel the arrogant to accomplish their own will by their custody, and, having therefore barricaded them, then, having been struck by the divine oversight of the matters contemplated, he might chastise the perplexity of the resolved by proving the power to be divine.
Source: Commentary on Acts