We develop a dynamic politico-economic theory of welfare state and immigration policies, featuring three groups of voters: skilled workers, unskilled workers, and old retirees. The welfare-state is modeled by a proportional tax on labor income to finance a demogrant in a balanced-budget manner...