When a law is in its nature a contract, when absolute rights have vested under that contract, a repeal of the law cannot divest those rights. The people can act only by their agents and, within the powers conferred upon them, their acts must be considered as the acts of the people.

– John Marshall