Abdullah Khan pleaded guilty to eight offences, including arson at the Black Forge Inn and a knife attack on two gardaí.