the defending janissaries within were powerless to prevent the onrush but , with their greater discipline , managed to hold it in check as ferocious fighting broke out in the arsenal 's main quadrangle .