Bothwell's men attempted to batter down the back gate but were repulsed by gunshots before midnight on 27 June. The king withdrew to the gatehouse tower and his guard shot at Bothwell's men. According to James Melville the defenders who favoured Bothwell loaded their guns with paper rather than bullets. Bothwell abandoned the attack at 7 o'clock in the morning, and rode away with the king's horses. James Sandilands gave chase. He captured nine men whose horses tired, five were hanged in Edinburgh's Canongate, the others were ransomed. One of John Colville's servants was hanged, a packet of coded letters and a cipher was found in his possesion.