Kanye West went on an exceptionally long and twisted Twitter rant Monday night, alleging that Kim Kardashian attempted to “lock me up with a doctor” following his controversial rally in Charleston, South Carolina.

The rapper took to the stage on Sunday and ranted about Harriet Tubman (she “never actually freed the slaves, she just had the slaves go work for other white people!”)… while also getting very personal about his family.

Kanye claimed that he freaked out when Kim first told him she was pregnant.

The artist was initially afraid that he had given his then-girlfriend AIDS.

He then admitted that the famous couple nearly aborted the baby who would grow up to be North West.

“For one month and two months and three months, we talked about her not having this child. She had the pills in her hand,” West said of his now-wife, later breaking down and yelling:

“I almost killed my daughter! I almost killed my daughter! I love my daughter!”

Kanye and Kim now have four children.

This was the first time we heard anything about the superstars thinking of terminating Kim’s first pregnancy — and Kardashian is reportedly PISSED Kanye made this admission.

West confessed as much in his latest Twitter breakdown.

“Kim was trying to fly to Wyoming with a doctor to lock me up like on the movie Get Out because I cried about saving my daughters life yesterday,” West wrote on Twitter.

He added of his mother-in-law:

“Kriss don’t play with me you and that calmye are not allowed around my children Ya’ll tried to lock me up… Kim tried to bring a doctor to lock me up with a doctor.”

Kanye also seemed very, very focused on his kids never posing in Playboy.

(Their mother and both of their aunts, famously, have taken their clothes off for the magazine.)

“West children will never do playboy west,” Kanye Tweeted, adding:

“I put my life on my God that North’s mom would never photograph her doing playboy and that’s on God. I’m at the ranch… come and get me.”

West is referring there to the expansive property he and Kim own in Wyoming.

Citing the couple’s six-year-old daughter later on, Kanye even mentioned Kim Kardashian sex tape with ex-boyfriend Ray J, claiming it was some form of  assault.

Or perhaps just publishing a pretty significant typo.

“I put my life on the line for my children that North’s mother would never sell her sex rape [sic],” he wrote.

ReadMore…