The boy was banned from associating with certain individuals but was soon caught in the company of one of them