Nearly two decades after Indonesia's military was squeezed out of civilian affairs with the downfall of strongman leader Suharto, President Joko Widodo is drawing the army more closely into his wars on drugs, terrorism, and corruption.

Palace and military officials say Widodo's move is partly designed to counterbalance senior police officers who have crossed swords with him and who, critics say, are trying to undermine the agency leading the campaign against graft.

The police acknowledges "problems" in its relationship with the Corruption Eradication Commission (KPK), but says it is working with the agency to tackle graft.