In 2007, countries in the euro zone periphery were enjoying stable growth, low deficits, and low spreads. Then the financial crisis erupted and pushed them into deep recessions, raising their deficits and debt levels. By 2010, they were facing severe debt problems. Spreads increased and, surprisingly, so did the share of the debt held by domestic creditors. Credit was reallocated from the private sector to the public sector, reducing investment and deepening the recessions even further. To account for these facts, we propose a simple model of sovereign risk in which debt can be traded in secondary markets. The model has two key ingredients: creditor discrimination and crowding-out effects. Creditor discrimination arises because, in turbulent times, sovereign debt offers a higher expected return to domestic creditors than to foreign ones. This provides incentives for domestic purchases of debt. Crowding-out effects arise because private borrowing is limited by financial frictions. This implies that domestic debt purchases displace productive investment. The model shows that these purchases reduce growth and welfare, and may lead to self-fulfilling crises. It also shows how crowding-out effects can be transmitted to other countries in the euro zone, and how they may be addressed by policies at the European level.