Millennial women are leaving the Republican Party in droves in recent years, with less than a quarter of younger women voters now identifying as Republicans.

Between 2002 and 2017, millennial women who identify as Democrat grew from 54 percent to 70 percent, according to a new Pew Research poll. Conversely, 23 percent of millennial women now identify as Republican as compared to 36 percent in 2002.

[Opinion: Is the Republican congresswoman an endangered species?]

The amount of millennial men who identified as Democrat has gone from 52 to 49 percent in that same time frame. About 41 percent of millennial men identify as Republican, compared to 39 percent in 2002.

Gender gaps between voter partisanship in other generations is far more modest than the 21 percent difference in male and female millennials.

In general in the past two decades, women have been leaving the Republican Party and increasingly have been identifying as Democrat.

Right now, 56 percent of women lean towards or affiliate themselves with the Democratic Party, compared to only 44 percent of men.