A university professor and leader of the country's small Socialist party, she was also one of only a few civilians to hold the post.