Through cheating. Sanctuary cities need to have their district totals tossed.
(there's no such thing as "the popular vote")
We have brought in 35 million legal permanent immigrants since 1990, which is the equivalent of the current population of Canada. They are all current or future legal voters. Immigrants and their American born children drive 80% of our population growth. This year, 2019, marks the first time that half of the children 18 and under are minorities as defined by the USG. By 2043 non-Hispanic whites will be 50% of the population, down from 63% today and 89% in 1970.
(there's no such thing as "the popular vote")
The popular vote decides the electoral outcome in each state. When you look at the electoral map, the Dems enjoy a critical advantage that will only grow as the demographics of this country continue to change. I watched VA become a solid blue state from a red state. NV, CO, NC, and AZ are headed in the same direction. You can put your head in the sand and blame it all on illegal aliens and voter fraud. That just isn't the case.