When was a formal mechanism for electing the Minister adopted