Answer:
That would be the sun, because of its gravitational pull its what pulled the other planets closer, then making our solar system. However, the sun was formed after the solar nebula, but thats not an option, so the next thing made was the sun. I hope this helps you! :D