A financial regulator enforces rules to protect consumers and ensure stability.