system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why were the Jedi part of the Republic?

I have recently been watching Attack of the Clones and there is a big focus on how the Jedi are trying to be a peacekeeping force but still fight a war.

How did the Jedi become so intertwined in the Republic when they are meant to be a force for good and peace?
gpt
This goes back to the Founding of the Old Republic, from a time shortly after hyperdrive technology was reverse engineered from the remains of the Infinite Empire. One of the first planets to be 'discovered' by Coruscant was Ossus, which had been home to a Jedi Academy. They liked the ideals of the Galactic Republic and pledged themselves to be its defenders, and were key to protecting the Core worlds from outside aggressors for much of its early existence. The rest, as they say, is history.