Regional language
For the second case, an example is the fragmentation of the Soviet Union where some regional languages, such as Latvian, Romanian or Georgian, became official languages in the new states formed after the fragmentation: Latvia, Moldova and Georgia.