After being an integral section of the Kingdom of Yugoslavia, Kosovo including its Albanian population went through a period of discrimination, economic and political persecution. Rights to use the Albanian language were guaranteed by the constitution of the later formed Socialist Yugoslavia and was widely used in Macedonia and Montenegro prior to the dissolution of Yugoslavia. In 1989, Kosovo lost its status as a federal entity of Yugoslavia with rights similar to those of the six other republics and eventually became part of Serbia and Montenegro.