The Sanjaya dynasty (Sanskrit: सञ्जय, romanized: sañjaya, lit. 'conquest, victory, triumphant') was an ancient Javanese dynasty that ruled the Mataram kingdom in Java during the first millennium CE. The dynasty was an active promoter of Hinduism in ancient Java.