In George Orwell's Animal Farm, seven commandments are painted on the barn wall after the animals' rebellion.
The commandments initially express the animals' revolutionary principles, including opposition to human habits and the belief that all animals are equal. They are presented as a written code intended to preserve the ideals of the rebellion after Mr. Jones is expelled from the farm.
As the pigs consolidate power, the commandments are quietly altered to justify their privileges. The most famous final revision is “All animals are equal, but some animals are more equal than others.” This is not one of the original seven commandments; it is the final distorted slogan that replaces them. Orwell's allegorical novel was published in 1945 and reflects the corruption of revolutionary ideals under authoritarian rule.