Power Rangers Pirate Rebels

An evil prince named Hanshin is taken over every solar system except for ours, A new planet named Gokai has just came back into the solar system. Prince Hanshin has 5 royal commanders that assist him when they take over our solar system and even the planet Gokai. 4 years later they have taken over all our planets except for Earth. They trained for a year and went to destroy Earth, but every ranger up until megaforce battled Prince Hanshin's army the rangers used all of their powers combined. After they defeated his army they lost their powers and the powers floated into space and they crossed a lightning bolt they were turned into keys. The 5 royal commanders fled to space during the war to get the rangers powers. When they saw an how much those color coded heroes wanted to protect Earth so they now protect Earth with their powers and the past rangers powers.