 Luis Ramirez de Lucena gave the rule in his 1497 book "Arte de Axdres" .Benjamin Franklin referred to it in his 1786 essay "The morals of chess" .At one time the rule also required the player who played an illegal move to move his king.