Lawmakers in Albany voted Tuesday to keep Barbara Underwood, the former state solicitor general and current acting attorney general, as the interim head of the Attorney General’s Office until a new attorney general is elected later this year.

In a statement, Underwood praised the “talent and dedication of the people” that make up the Attorney General’s Office. She called the decision by state legislators a “tremendous honor” for the “most important job I have ever had.”