Subprime mortgages have existed for decades. But they were a small percentage of the mortgage market until Fannie and Freddie reduced credit standards to increase their market share and meet low-income homeownership targets mandated by Congress.
Source: We Don’t Need Fannie and Freddie; We Need Freedom | Foundation for Economic Education