Vande Mataram the novel containing it was banned by the British government, but workers and general public defied the ban, many went to colonial prisons repeatedly for singing it, and the ban was overturned by the Indians after they gained independence from the colonial rule. In 1950 (after India's independence), the first two verses of the song were declared the "national song" of the Republic of India, distinct from the national anthem of India, "Jana Gana Mana". The first two verses of the song are an abstract reference to one's mother and motherland, they do not mention any Hindu deity by name,
Amangkurat I of Mataram conspired with Panembahan Rama from Kajoran, west of Magelang, who proposed a stratagem in which the crown prince financed Rama’s son-in-law, Trunajaya, to begin a rebellion in the East Java. Raden Trunajaya, a prince from Madura, lead a revolt supported by itinerant fighters from faraway Makassar that captured the king's court at Mataram in mid-1677. The king escaped to the north coast with his eldest son, the future king, leaving his younger son Pangeran Puger in Mataram. Apparently more interested in profit and revenge than in running a struggling empire, the rebel Trunajaya looted the court and withdrew to his