The Metaphysics of Morals by Immanuel Kant Chapter 2 Page 79

other which I accordingly reckon as heteronomy.

The conception of the will of every rational being as one which must consider itself as giving in all the maxims of its will universal laws, so as to judge itself and its actions from this point of view- this conception leads to another which depends on it and is very fruitful, namely that of a kingdom of ends.

By a kingdom I understand the union of different rational beings in a system by common laws.

Now since it is by laws that ends are determined as regards their universal validity, hence, if we abstract from the personal differences of rational beings and likewise from all the content of their private ends, we shall be able to conceive all ends combined in a systematic whole (including both