Ganga kingdom for sometime but later in 1424 the last Ganga king, Bhanudeva IV sent his able general and minister, Kapilendra Deva who defeated and drove out the Reddys to as far as Rajahmundry. Evidently, Pratap Arjuna sent his army to help the Gangas. Pratap Arjuna had a son named Jayanta Deva Raju II whose daughter Singamma was married to the Silavanshi king, Vishwanath Raj of the neighboring Nandapur kingdom. There are two inscriptions dated 4 and 8 July 1427 that records the marriage of Singamma to Vishwanath Raj of Nandapur. This was believed to be a crucial matrimonial alliance between the families of Matsya and Silavansh. The son of Jayanta Deva Raju II was Singharaju who was a contemporary of Pratap Ganga Raj of Nandapur. In 1443, Pratap Ganga Raj was succeeded by his son-in-law Vinayak Dev who was a junior prince of a small kingdom ruled by Suryavanshi kings in North Kashmir. In a turn of events, Vinayak Dev migrated to Varanasi and then to Nandapur, where he married Lilavati, the only daughter of Pratap Ganga Raj. Evidently, he inherited the kingdom from his father-in-law and faced rebellion from other Silavanshi claimants. As a result, he was ousted and later helped by the Matsya king, Singharaju who helped him curb the rebellion and reclaim the kingdom of Nandapur. Singharaju was succeeded by his son Vallabhadeva Raju who performed the famous Agnistoma sacrifice on the bank of Danta near Duttada and constructed the temple of Lord Vallabharaya. He donated a village called Annavaram for the service of Lord Vallabharaya and was succeeded by his son Pratap Sri Ganga Raju. This king ruled as vassal of Prataparudra Deva and later his son Veer Pratap Singharaju served under the same Gajapati. In later years, after the collapse of the Gajapati Empire in the mid 16th century, the king of Nandapur - Vishwanath Dev Gajapati conquered the former territories of the Gajapatis from Bengal in North to Telangana in south. This was a period when the Matsya kingdom of Vaddadi or Madugula became vassals of Nandapur and later the Kingdom of Jeypore. Matsya Dynasty of Vadaddi Geography Madugula is located at . It has an average elevation of 83 meters (275 feet). The place is surrounded by hills, river streams and paddy fields. It is largely inhabited by Telugu speaking populace and has an old palace of the Matsya dynasty. The Endrikaparvatam