The highest-paid female CEO in America used to be a man.

Martine Rothblatt, 59 — who founded the $5 billion pharmaceutical firm United Therapeutics and also co-founded Sirius — had sex reassignment surgery in 1994.

“I can’t claim that what I have achieved is equivalent to what a woman has achieved. For the first half of my life, I was male,” Rothblatt, who has four kids and is still married to her wife of more than 30 years, told New York Magazine.

Rothblatt made $38 million last year as head of United Therapeutics, which she launched to create medicine for her daughter, who suffers from primary pulmonary hypertension.

In addition to being uber-wealthy, the CEO is obsessed with artificial intelligence and has a lifelike talking robot modeled after her spouse.

Her book, “Virtually Human: The Promise and Peril of Digital Immortality,” is being released on Tuesday.