In August, Kelly met his friend "Wild Wright" in Beechworth. He must have been angry with Wright because of the stolen horse which had put him in prison. Behind the Imperial Hotel, they fought a bare knuckle boxing match that lasted for 20 rounds. Wright said later that "...he gave me the hiding of my life." In September 1877, Kelly was arrested in Benalla, for being drunk, riding on a footpath and resisting arrest. Kelly escaped from the police while they were taking him to the courthouse. After a fight with the police, he ran across the road into a boot shop and locked the door. Kelly gave himself up when the judge came over to the shop. One of the policemen involved in the fight to arrest Kelly was Thomas Lonigan. Lonigan was later shot dead by Kelly at Stringybark Creek.