When he realized that this act pleased the Jews, he proceeded to have Peter arrested also. [This happened] during the Festival of Unleavened Bread [See Exodus 12:15ff].
So, Felix allowed Paul to remain in chains, because he wanted to gain favor with the Jews [during that period of time]. Two years passed and Felix was succeeded by Portius Festus.