The inverse square law for force as a function of distance is formulated in terms of distances measured at some absolute time. Such a law cannot stand on its own in a relativisitic theory. In electromagnetic theory the electrostatic force follows an inverse square law, but the theory as a whole is compatible with relativity because moving charges are subject to an additional magnetic component of the force.