Morsi’s subsequent victory in the presidential election therefore set up an epic battle over the future of the parliament and the constitution, as Morsi attempted to protect the democratically elected parliament while the military fought to dissolve it. In the end, Morsi insisted that the elected parliament create a constitutional assembly, which produced the draft approved in the December 2012 referendum.