within a year , the blue party was also ousted and became similarly illegal , and the country became a nominally independent illiberal socialist republic - an independence which was not to last for very long .