They thought that Paul's body would be torn apart.
"Having waited a long time." The miracle was not revealed suddenly, but the people waited for it for some time. Thus, this occurrence was not a deception or mere trickery.
"They said that he was a God." Since they had the custom of calling anyone who did something extraordinary a god, just as the ancients called gods those who, whether by physical strength, like Heracles, performed greater feats than their contemporaries, or drove spectators out of their minds by the art of magic, like Simon in Samaria.
Source: Commentary on Acts