Task: Text Categorization
Input (English): This man was accused of faking an assassination attempt in which he dodged a bullet by diving behind a hedge. That incident was known as the "Observatory Affair. " During his presidency, this man passed the Badinter Act to abolish the death penalty, and one of his defense ministers resigned after this man ordered the attack on Greenpeace's Rainbow Warrior ship. Prime ministers under him included Pierre Mauroy and Edouard Balladur, who served under the second "cohabitation". The first of those was brought about by his party's loss of control of parliament and so part of his reign featured joint rule with the RPR party of Chirac. For 10 points, name this French president from 1981 to 1995, noted for being the only Socialist to hold that position.
Output (English): History