Mataram, brought to Banten. However, Sultan Ageng Tirtayasa saw an opportunity to impose Banten's influence upon Cirebon. He crowned both princes he saved as the sultans, Prince Mertawijaya as Sultan Kasepuhan and Prince Kertawijaya as Sultan Kanoman. By doing so the Sultan of Banten disintegrated and weakened the Sultanate of Cirebon into several petty states. On the other hand, Prince Wangsakerta, who had fought for 10 years, was only given a small title and estate. The cunning divide strategy was meant to weaken Cirebon and to prevent Cirebon from being Mataram's ally and becoming a menace to Banten in the future, as it had done in Pagarage War. In the 1670s he practically acquired the Cirebon area as vassal following a civil war in Mataram.