ANKARA, Turkey (AP) -- A lawyers' association says Prime Minister Recep Tayyip Erdogan has instructed Turkey's justice minister to work with the group on legal arrangements that could lead to the re-trial of hundreds of military officers and others.

Hundreds of people have been jailed in Turkey for alleged plots to bring down Erdogan's government.

But the legitimacy of their trials were put into question recently, when the prime minister's adviser suggested that army officers had been framed by groups within the judiciary who were now allegedly orchestrating a corruption probe against Erdogan's allies.

Metin Feyzioglu, the head of the Turkish Bar Associations, said Erdogan was "warm and positive" toward a set of legal changes his group proposed to him on Saturday.