A rival government is a political group that claims to be the legitimate government of a sovereign state in opposition to the internationally recognized government which holds the United Nations seat for that country. Such governments tend to be formed in the aftermath of a civil war, revolution, or military coup. They differ from a government in exile as they are based in, and have control over territory within the claimed state.
Read more on Wikipedia