fence was twelve and had already gotten out of the worst phases of childhood by most accounts , although now he was on the brink of manhood and almost ready to train under sir nickleby , commander of the town militia .