The time is the Pennsylvanian, the latter half of the Carboniferous. The first of the reptile like reptiles and mammals have become established, though true reptiles and mammals have yet to appear. One of the proto reptiles is the archosaur, the ruling lizard though it just looks like a lizard instead of being a true lizard.
This animal—though it may be a juvenile instead of an adult—is a foot long diapsid with sprawling limbs and socket’s for the teeth. The brain is small, and apparently not well organized. Divination has produced varying results, and it is suspected that those diviners who have used such castings on the fossils have shown a bad habit of insisting on producing results, so actually getting honest results can be rare.
It should also be noted that there are some who insist this specimen can’t be an archosaur. Some say that it is an archosauriform, some an ancestor of the latter. Again, there is disagreement regarding the divinations used to investigate the subject, with again some researchers refusing to accept findings that disagree with their prejudices.
But I tend to say that it is close enough, and it has features that tie to to later archosaurs such as dragons, dinosaurs, saurischians, and ptersosaurs. Changes are coming, but they will take some time getting here.