The one-time Irish Republican Army commander later helped negotiate an end to the conflict in Northern Ireland.