Parents send the schoolboy Styopa for the summer holidays to the village to his grandmother - as a punishment. Here he is forced to abandon modern technological benefits and live by the rules of the village. Running away once again from local teenagers, Styopa tries to hide in a well, but falls into it. Getting outside, he realizes that he was in a real Cossack village of the 17th century. At the most important historical moment of our country. By the will of fate, Styopa will learn a lot from his distant ancestors, find real friends and in practice master the history lesson that he failed at school.