In exchange, he agreed not to extend Johor's rule to neighboring states.
As part of the agreement, Johor's rule would not fall upon nearby states.
He made refused to sign off on the deal, later invading a nearby country.