Two people were injured by explosive devices on Monday as thousands of protesters gathered outside a Malaysian courthouse where opposition leader Anwar Ibrahim was found acquitted of sodomy charges.

It was not clear what had caused the blasts, police said.

A preliminary investigation found that two explosive devices were placed under police cones in the carpark outside of the courthouse, police spokesman Ramli Mohamed Yoosuf said.

Police were still looking into what the devices contained, and Ramli blamed irresponsible parties for the explosions.

(Reporting by Kuala Lumpur bureau; Editing by Sanjeev Miglani)