machiavelli had been watching carefully all this time , and as soon as he saw the gates opening , he leant over and spoke softly to caterina , who immediately spurred her horse forward at a frantic gallop , closely followed by machiavelli and the rest of her entourage .