https://www.politico.com/states/new...year-old-who-took-out-joe-crowley-490978

excerpt:

Ocasio-Cortez, a 2011 graduate of Boston University, bested Crowley 57 percent-42 percent after campaigning on abolishing the Immigration and Customs Enforcement agency and pushing the Medicare-for-all bill carried by Sanders, the independent Vermont senator. But above all, she argued that a 50-something white man with close ties to the real estate and pharmaceutical lobbies should no longer be representing one of America’s most ethnically diverse congressional districts.
___________________________________________________________

Above all, she won by demonizing "Whitey".