When Raivata Manu was the king of the fifth Manvantara,  gods were divided among several gaṇas or sects. Amitābha(Amitabha) was one of them.Ugra was one of the gods included in this gaṇa (gana).