Fight until no more unbelief
Fight them until there is no oppression and worship is devoted to Allah alone.
2:193And fight them until persecution is no more, and religion is for Allah. But if they desist, then let there be no hostility except against wrong-doers.
2:217They question thee (O Muhammad) with regard to warfare in the sacred month. Say: Warfare therein is a great (transgression), but to turn (men) from the way of Allah, and to disbelieve in Him and in the Inviolable Place of Worship, and to expel His people thence, is a greater with Allah; for persecution is worse than killing. And they will not cease from fighting against you till they have made you renegades from your religion, if they can. And whoso becometh a renegade and dieth in his disbelief: such are they whose works have fallen both in the world and the Hereafter. Such are rightful owners of the Fire: they will abide therein.
8:39And fight them until persecution is no more, and religion is all for Allah. But if they cease, then lo! Allah is Seer of what they do.