But as this article indicates the transition from Military to the State Department is not going smoothly. Hopefully, this is not the indicator of a trend...
I suspect that when the US troops leave, Iran will rapidly assume a larger and larger presence in the Iraqi government and will have effective control within a couple of years.