(25)In the case of an infringement committed by a credit rating agency, ESMA should be empowered to take a range of supervisory measures, including, but not limited to, requiring the credit rating agency to bring the infringement to an end, suspending the use of credit ratings for regulatory purposes, temporarily prohibiting the credit rating agency from issuing credit ratings and, as a last resort, withdrawing the registration when the credit rating agency has seriously or repeatedly infringed Regulation (EC) No 1060/2009. The supervisory measures should be applied by ESMA taking into account the nature and seriousness of the infringement and should respect the principle of proportionality. Before taking a decision on supervisory measures, ESMA should give the persons subject to the proceedings the opportunity to be heard in order to respect their rights of defence.