Krishnadevaraya planned for an invasion of Kalinga, but the Gajapati Emperor, Prataparudra, was made privy to this plan. Prataparudra formulated his own plan to defeat Krishandevaraya and the Vijayanagara Empire. The confrontation was to happen at the fort of Kalinganagar. But the wily Timmarusu secured the information about Prataparudra's plan by bribing a Telugu deserter, who was previously in the service of Prataparudra. When the Vijayanagara Empire did invade, Prataprudra was driven to Cuttack, the capital of the Gajapati empire. Prataparudra eventually surrendered to Vijayanagara Empire, and he gave his daughter, Princess Jaganmohini, in marriage to Sri Krishnadevaraya but their relationship ended after 2 months and Jaganmohini returned to Kalinga to her parents and married another man. But Krishandevaraya returned all the lands that the Vijayanagara Empire captured to the north of the Krishna River; this made the Krishna river boundary between the Vijayanagar and the Gajapati Kingdoms.