The U.S. military handed over a $107 million prison and nearly 3,000 inmates to the Iraqi government on Monday as it prepares to leave Iraq.