Original: It developed in the 18th century as the study of the economies of states—polities, hence political economy.
Simplified: It developed in the 18th century as the study of the economies of states.