While the negotiations were still underway, a traitor who was in command of the castle, opened the gates to the New Model Army.