What ended the permian period?

The Permian Period was ended by the Permian/Triassic Extinction Event, which wiped out 90% of the species on Earth at that time.