Henry was raised Protestant and became a prominent leader of the Huguenot faction during the French Wars of Religion. After his predecessor Henry III was assassinated in 1589, Henry IV became king, but many Catholics refused to accept him because he was not Catholic. To consolidate his power, Henry converted to Catholicism in 1593 and issued the Edict of Nantes in 1598, which granted significant rights to Protestants in France. This helped to bring an end to the religious wars.