After the naval defeat at Aboukir, Bonaparte's campaign remained land-bound. His army still succeeded in consolidating power in Egypt, although it faced repeated nationalist uprisings, and Napoleon began to behave as absolute ruler of all Egypt. He set up a pavilion and from within it presided over a "fête du Nil" – it was he who gave the signal to throw into the floats the statue of the river's fiancée, his name and Mohammed's were mingled in the same acclamations, on his orders gifts were distributed to the people, and he gave kaftans to his main officers.