The secret afternoon meeting, which marked a dramatic shift in their political relationship, followed almost four years of animosity and bitter rivalry between the two former allies.