During Maga's term of office, Dahomey's economy collapsed; there was little foreign investment and unemployment rose. In response, he launched a four-year plan in January 1962, the basis of which was to increase agricultural production by forcing the nation's youths to work on the land. Maga also faced a national crisis of unity, culminating in a failed assassination plot against him in May 1961 led by the main opposition leader, Justin Ahomadegbé-Tomêtin. Ahomadegbé-Tomêtin was jailed, and by the time of his release in November 1962, a one-party state had been established and the opposition press had been restricted. In 1963, convicted murderer Christophe Bokhiri was released from prison, prompting riots around the country, but the focus of the rioting soon shifted toward Maga's problems as president. The riots became so serious that the Chief of Staff of the Dahomeyan Army, Christophe Soglo, took control of the country in October to prevent a civil war. After forcing Maga to resign, Soglo gave him, Ahomadégbé-Tomêtin, and vice president Sourou Migan Apithy, the titles of Minister of State.