It became a republic in 1968 , three years after independence .