Socialist congressional candidate Alexandria Ocasio-Cortez seemed to compare Democrats winning elections to the abolition of slavery during a Kansas campaign speech Friday.

“I learned that Kansas was founded over the struggle of the conscience of this nation,” Ocasio-Cortez told the Wichita crowd of over 4,000 people, as reported by Breitbart. “It was when we were deciding who we wanted to be as a country. It was when we were deciding who we wanted to be with the Kansas-Nebraska Act. The people who were … leading this nation said, ‘You decide’ to the people.”

“‘Are we going to be a slave state or are we going to be a free state?’ And it was in 1861 that the people of Kansas decided that we were going to be a free nation,” she continued. “Back then, the people of Kansas were the tipping point for the future of this nation. Today, they are again.” (RELATED: Socialist Darling Trips Over Herself As She Takes Her First Steps On The Campaign Trail)

Ocasio-Cortez, who has been campaigning with fellow socialist Sen. Bernie Sanders to help elect Democrats in Kansas, made the remarks during a speech on behalf of Democrat James Thompson, who is running against GOP Rep. Ron Estes. Estes defeated Thompson in a 2017 special election.

The New York congressional candidate then went into a laundry list of government giveaways, including “Medicare for all,” free college tuition, and a “living wage,” before finishing with another reference to slavery.

“But what this moment requires of us, just as it was in 1861, what this moment requires of us is for everyday people to do more than they have ever done before to reclaim the soul of this nation,” she said.

Follow Scott on Facebook and Twitter.