The French conquest of Morocco took place in 1911 in the aftermath of the Agadir Crisis, when Moroccan forces besieged the French-occupied city of Fez. On 30 March 1912, Sultan Abdelhafid signed the Treaty of Fez, formally ceding Moroccan sovereignty to France, transforming Morocco into a protectorate of France. However, many regions remained in revolt until 1934, when Morocco was declared to be pacified, but in several regions French authority was maintained by cooperation with local chiefs and not military strength. On 17 April 1912, Moroccan infantrymen mutinied in the French garrison in Fez. The Moroccans were unable to take the city and were defeated by a French relief force. In late May 1912, Moroccan forces unsuccessfully attacked the enhanced French garrison at Fez. The last aftermath of the conquest of Morocco occurred in 1933-34, the pacification of Morocco took over 22 years.
Question: How many years after the French conquest of Morocco took place did Sultan Abdelhafid sign the Treaty of Fez, formally ceding Moroccan sovereignty to France?
Answer: 1