In August 1921 it underwent a final overhaul when the post of president was created . In August 1921 it underwent a final overhaul linked to the creation of a head of state titled the President of the Republic . A ministry of six was created .