 One of the queen's supporters, a minor nobleman named Arias Pérez, attacked suddenly and forced Pedro to retreat, leaving his wife and charge besieged in the castle.Pedro pleaded with Diego Gelmírez to negotiate terms, but no sooner had he done so and the siege had been lifted than Urraca imprisoned Pedro, Diego, Alfonso, and Mayor.The bishop was soon released so that negotiations could begin with Count Pedro directly.