From the proclamation of a republic in 1945 until 1953, Ribar was the de jure head of state of Yugoslavia; his chairman's post was equivalent to that of president. In 1953, Communist Party leader and Prime Minister Josip Broz Tito, the country's de facto leader since 1945, was elected to the new post of President of the Republic.