The first draft of the plan, called Baker I or the Framework Agreement, was circulated by the UN special envoy James Baker in 2000, but never presented formally to the Security Council. Although based on Baker's proposals, it was drafted by a Morocco-sponsored legal team. It offered the people of Western Sahara autonomy within the Moroccan state. Except for defense and foreign policy, all other decisions would be the responsibility of local government. Morocco accepted the plan, but Algeria and the Polisario front rejected it. Algeria countered by proposing that the territory be divided between the parties.