Ukraine’s parliament voted Wednesday to approve the appointment of lawmaker Andriy Kostin as the country's prosecutor general amid warnings from the U.S. against the threat of "internal corruption."

Some 299 members in the 450-seat parliament voted in favor of Kostin’s nomination for the top job, Reuters first reported.

Ukrainian President Volodymyr Zelenskyy nominated Kostin – who sits in the same political party as Zelenskyy known as the Servant of the People party – after Iryna Venediktova was removed as prosecutor general earlier this month.

Andriy Kostin

Chairperson of the Verkhovna Rada Law Enforcement Committee Andriy Kostin attends a press conference in Kyiv, Ukraine.  (Evgen Kotenko/ Ukrinform/Future Publishing via Getty Images)

UKRAINIAN PROSECUTOR GENERAL ANNOUNCE 6,500 INSTANCES OF WAR CRIMES, ICC HEADS TO BUCHA TO INVESTIGATE

Zelenskyy fired Venediktova after she and Ivan Bakanov, the former head of the Security Service (SBU) and a lifelong friend of the president, had been removed from their posts following dozens of complaints from officials in their corresponding agencies accusing them of collaborating with Russia.  

Before being booted from her role as prosecutor general, Venediktova was tasked with prosecuting crimes involving human rights violations and atrocities committed by Russia forces in Ukraine. 

In a televised address earlier this month, Zelesnkyy said that over 650 cases of high treason had been opened against law enforcement personal following Russia’s invasion of Ukraine in February.

Ukrainian President Volodymyr Zelenskyy visits Mykolaiv region

Ukrainian President Volodymyr Zelenskyy is seen in June. (Ukrainian Presidential Press Office via AP)

ZELENSKYY FIRES HEAD OF UKRAINE SECURITY SERVICE, ANNOUNCES HUNDREDS OF CRIMINAL TREASON CASES

State Department spokesman Ned Price said Tuesday that the U.S. supports Ukraine’s transparent efforts to instate a new prosecutor general, but warned against the continued threat of internal corruption.  

"Russia’s war against Ukraine poses an external threat, but corruption poses an internal threat, and the threat that corruption poses can be corrosive to democracy, to sovereignty, to the freedoms that the people of Ukraine so desperately wish to retain," Price told reporters. 

"Even as we support Ukraine by providing security assistance, we will support sustained efforts in Ukraine to increase transparency, to strengthen democratic institutions, independent anti-corruption infrastructure, and the rule of law," he added.

Ned Price

U.S. State Department spokesman Ned Price speaks during a news conference at the State Department, March 10, 2022, in Washington, DC. (MANUEL BALCE CENETA/POOL/AFP via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Price said that as Ukraine looks to officially become a member of the European Union, it will need to not only repel Russian aggression, but ensure it lives up to EU demands regarding a corruption-free government.

"The independence and impartiality of the prosecutor general is vital to ensuring the integrity of accountability efforts in Ukraine," Price said.