What did John Hudson do wrong to go on the first fleet ships?

John Hudson was the youngest male convict transported to Australia in the First Fleet. Just nine years old, he was a chimney sweep who was transported for stealing clothes and a pistol.