This conflict provided the prince with an opportunity to seize power.
I think he means to discredit you so that he can seize power.