  We propose a new mechanism for generating both luminous and dark matter
during cosmic inflation. According to this mechanism, ordinary and dark matter
carry common charge which is associated with an anomalous $ U(1)_{X} $ group.
Anomaly terms source $ \mathcal{CP} $ and $ U(1)_{X} $ charge violating
processes during inflation, producing corresponding non-zero Chern-Simons
numbers which are subsequently reprocessed into baryon and dark matter
densities. The general framework developed is then applied to two possible
extensions of the Standard Model with anomalous gauged $B$ and $B-L$, each with
an additional dark matter candidate.
