Complex sentence: She was the second female Prime Minister of Senegal after Mame Madior Boye, and she previously served as Justice Minister from 2012 to 2013, until her appointment as prime minister was announced while she was pursuing several corruption cases involving former government figures.
Split into simpler sentences: She was the second female Prime Minister of Senegal after Mame Madior Boye, and she previously served as Justice Minister from 2012 to 2013. Her appointment as Prime Minister was announced while she was pursuing several corruption cases involving former government figures.