France's justice minister has resigned after objecting to President Francois Hollande's push to revoke citizenship from convicted terrorists with dual nationality.

Hollande announced Christiane Taubira's resignation Wednesday — just before Parliament takes up the citizenship bill.

Taubira, a devoted leftist best known for championing the legalization of gay marriage, tweeted that "sometimes, to resist is to remain, sometimes to resist is to leave."

Taubira had suffered tensions in the past with center-leaning Prime Minister Manuel Valls.

The citizenship bill, prompted by the Paris attacks Nov. 13, is popular among conservatives and the far right but is especially divisive for the governing Socialists.