In November 2021, Baharav-Miara was named by Justice Minister
Gideon Saar as one of the three candidates for the position of Attorney General, and was considered his preferred candidate. Her candidacy was also supported by Prime Minister
Naftali Bennett. On 7 February 2022, the government unanimously approved her appointment. Baharav-Miara is the first woman to serve in that position. Justice minister
Yariv Levin initiated the process of firing her in March 2025. The cabinet unanimously voted on 23 March to dismiss Baharav-Miara from office in a vote of
no confidence. The cabinet approved a "new method" in June 2025, allowing for Baharav-Miara's dismissal by a committee of cabinet members which included chair
Amichai Chikli,
Bezalel Smotrich,
Itamar Ben-Gvir,
Gila Gamliel and
Michael Malchieli, rather than a committee of "legal professionals and public figures."
Noam Sohlberg of the
High Court of Justice called for a return to the process of dismissal described by the Shamgar Commission, which was implemented in 2000 and called for a professional committee. The government was previously unable to find members who were willing to sit on the committee. The government fired Baharav-Miara on 4 August 2025. The High Court of Justice froze her firing the same day. Communications Minister
Shlomo Karhi issued a letter in which he told ministry workers to "disregard orders" issued by the Attorney General, while the
State Attorney called her dismissal "highly irregular." The High Court will hear her case on 3 September, with an expanded panel of nine judges, rather than six, which will include the most senior judges. The court issued an
injunction on 10 August 2025, which "suspended" the order to fire Baharav-Miara. The judges unanimously recommended on 1 September that the government should cancel its decision to fire Baharav-Miara. On 14 December the High Court unanimously annulled the firing, asserting that the government had failed to provide legal justification for its decision to change the way an AG is fired, and determining that the new system it designed was fundamentally flawed. ==Personal life==