It's principal function was to draw up and endorse a new constitution, based on a draft presented back in 1946 by the newly created Socialist Unity Party (""Sozialistische Einheitspartei Deutschlands"" / SED).