Meanwhile, with Sonic, he was busy fighting the shadows, and luckily wasn't having too much difficulty, but at one point, the shadows just faded away.

"Huh?" he thought, Sonic shrugged, and ran to where he thought Twilight, Applejack, Fluttershy, Pinkie, Rainbow Dash and Rarity would be.

Speaking of them, they were the closest they could be to their destination. "There it is, the ruin that holds The Elements of Harmony. We made it!" Twilight said, excitedly, she ran towards the ruins.

"We're almost there. Whoa!" Applejack said, realizing there was a cliff with a deep drop.

"How come you almost keep falling off cliffs today?" a familiar voice joked.

"SONIC!" cried the girls, causing Sonic to grin.

"Listen, I'll get over there," said Rainbow Dash, she flew to the other side, she was about to make sure that her friends could get across, until she heard someone say, "Rainbow..."

"Who's there?" asked Rainbow, cautiously.

"Rainbow..."

"I ain't scared of you! Show yourself!"

"We've been eagerly awaiting the arrival of the best flyer in Equestria." the person who had spoke before finally emerged out of the darkness.

"Who?" Rainbow responded.

"Why, you of course." the person complimented.

"Really?! I mean... Oh yeah, me. Hey, uh, you wouldn't mind telling the Wonderbolts that, would ya? 'cause I've been trying to get into that group for like, ever." Rainbow replied, somewhat sheepishly.

"No, Rainbow Dash. We want you to join us, The Shadowbolts. We're the greatest aerial team in the Everfree Forest, and soon we will be the greatest in all Equestria, but first, we need a captain. The most magnificent-"

"Yep."

"Swiftest."

"Yes."

"Bravest flyer in all the land."

"Yes," Rainbow chuckled. "It's all true."

"We need...you." the Shadowbolt said.

"WOOHOO! Sign me up." Rainbow cheered, excitedly. "Just let me tie this bridge real quick and then we have a deal."

"No! It's them or us." the Shadowbolt said, darkly.

"What's taking you so long over there!?" asked Sonic from the other side.

"Oh no! Don't listen to them!" Twilight yelled.

"You... Thank you! For the offer, I mean, but I'm afraid I have to say no." Rainbow said, somewhat politely. She heard her friends cheer loudly as she made the way.

"You... Thank you! For the offer, I mean, but I'm afraid I have to say no." Applejack said once they had got in.

"The Elements of Harmony, we've found them!" said Twilight, in amazement. "careful, careful!" she instructed.

"Uh, guys, there's only five." Sonic pointed out.

Twilight gasped, but then calmed down. "The book said: when the six are present, a spark will cause the sixth Element to be revealed."

"So...you just use your magic to make the sixth appear?" Sonic asked.

"I think so, Sonic." Twilight replied. "Anyway, everyone stand back, I have an idea, but I don't know what will happen.."

Sonic, Applejack, Fluttershy, Pinkie, Rainbow and Rarity stood back. Twilight then disappeared!

"TWILIGHT!" the group cried.

"Where are you!?" Sonic yelled, trying to keep his cool.

Meanwhile, with Twilight, she glanced around the new room, she coughed a little; then she gasped. It was Nightmare Moon, and she was laughing darkly. Twilight gasped again, but then said, "Hmph!"

Nightmare Moon looked very unamused. "Your kidding me, your kidding right?" she said as Twilight charged.

"Just one spark!" thought Twilight.

Nightmare Moon was not going to let the seventh element be found, so she found the other elements and smashed them, making Twilight gasp in complete horror. Nightmare Moon smirked evilly, "You little fool! Thinking you could defeat me? Now you will never see your princess, or your sun! The night will last forever!" She laughed again, not caring that Sonic, Applejack, Fluttershy, Pinkie, Rainbow and Rarity were coming. Twilight gasped in amazement, she realized something.

"You think you can destroy The Elements of Harmony just like that? Well, you're wrong, because the spirits of The Elements of Harmony are right here." Twilight said.

"What?" Nightmare Moon gasped.

"Applejack, who reassured me when I was in doubt, represents the spirit of... honesty!"

"Fluttershy, who tamed the manticore with her compassion, represents the spirit of... kindness!"

"Pinkie Pie, who banished fear by giggling in the face of danger, represents the spirit of... laughter!"

"Rarity, who calmed a sorrowful serpent with a meaningful gift represents the spirit of... generosity!"

"And Rainbow Dash, who could not abandon her friends for her own heart's desire represents the spirit of... loyalty!"

"The spirits of these six people got us through every challenge you threw at us." Twilight continued.

"Ha! You still don't have the seventh element! The spark didn't work." Nightmare Moon said.

"Oh, it did." Sonic thought.

"A different kind of spark. I felt it the very moment I realized how happy I was to hear you, to see you, how much I cared about you. The spark ignited inside me when I realized that you all... are my friends! You see, Nightmare Moon, when those Elements are ignited by the... the spark, that resides in the heart of us all, it creates the seventh element: the element of... magic!"

"NO!" screamed Nightmare Moon, a rainbow appeared from the elements, all of them different colours, fired itself straight at Nightmare Moon, and she was engulfed by the rainbow.

Soon after, everything was a little dizzy for the seven. "Oh...my head.." groaned Rainbow.

"Well, I wasn't expecting THAT to happen." Rarity said. "Ooh, good. My hair's grown back."

Sonic breathed out, and grinned. "You did pretty good out there you know, guys."

Twilight squealed and hugged Sonic, causing him to blush a light shade of red. The rest just laughed happily.

"Sonic!"

It was Tails, he had went after Sonic and the others due to worry or in case they needed back-up.

With that, Princess Celestia finally appeared, much to their relief. She went to Twilight with a pleasant smile.

"Twilight Sparkle, my faithful student. I knew you could do it." Celestia said.

"But... you told me it was all an old tale." Twilight responded.

"I told you that you needed to make some friends, nothing more. I saw the signs of Nightmare Moon's return and I knew it was you who had the magic inside to defeat her, but you could not unleash it until you let true friendship into your heart. Now if only another will as well. Princess Luna!" Celestia said, turning to Luna, who then gasped. Celestia walked over to her, and knelt down.

"It has been a thousand years since I have seen you like this. Time to put our differences behind us. We were meant to rule together, little sister." she said, softly.

"Sister!?" said the eight, the remaining seven looked at Sonic.

"Doesn't that mean she's your aunt?" Tails asked.

"I think so...!" Sonic said, somewhat anxious and sheepish, Sonic was still under shock from the recent hug he had received before.

"Will you accept my friendship?" Celestia asked her little sister.

Luna stood up abruptly and hugged Celestia tightly, "I'm so sorry! I missed you so much, big sister!"

Pinkie blew her nose, and then said. "Hey! You know what this calls for?"

"What?" Sonic asked.

"A PARTY!"

With that, Ponyville had one of the biggest parties they had ever had in years.