Detroit's emergency manager has agreed to step down, saying the city would no longer be in a financial emergency once it exited the largest public bankruptcy filing in US history. Kevyn Orr also told Governor Rick Snyder in a letter, dated Monday, that he had implemented the city's two-year budget that reflected the elimination of about US$7 billion in debt. The budget order brings an end to Orr's 21-month stay and efforts to solve one of the largest fiscal emergencies ever to face a major US city. Snyder replied on Tuesday that he agreed with the determination and "approves termination of the financial emergency status, the receivership of the city of Detroit, and your contract as emergency manager". US bankruptcy judge Steven Rhodes is expected to sign off on the budget order. A hearing is scheduled on Monday in federal court to determine Detroit's bankruptcy exit date. Orr - a turnaround expert who helped steer Chrysler through bankruptcy - had been the official face of Detroit government since he was appointed in March 2013 by Snyder. Orr took the US$275,000 job under an 18-month contract and soon determined the city was drowning in about US$18 billion in overall debt, unable to pay its bills or provide adequate city services for its 700,000 residents. Detroit filed for bankruptcy on July 18, 2013. Rhodes allowed the city's bankruptcy petition on December 3, 2013, and last month approved Orr's long-term restructuring plan. Most of the city's creditors, including about 30,000 employees and retirees, approved the plan, which wipes out about US$7 billion of US$12 billion in city debt not tied to funding sources, but retains US$1.4 billion to improve police and fire and other services. The final plan came after months of intense negotiations with banks, bond companies, unions, pension groups and others. It was bolstered by a promise of US$800 million from foundations, major corporations and the state to help make up cuts to retiree pensions while protecting pieces in the Detroit Institute of Arts from possible sale. Control of Detroit's finances was returned in September to the city council when Orr's contract ended. He remained on board to oversee the implementation of the bankruptcy's exit financing.