Complex sentence: The Pechin were part of a complex caste system that existed in Okinawa for centuries, they were the feudal scholar-officials class that was charged with enforcing the law and providing military defense to the nation, Ryūkyū Kingdom.
Split into simpler sentences: The Pechin were part of a complex caste system that existed in Okinawa for centuries. They were the feudal scholar-officials class that was charged with enforcing the law and providing military defense to the nation, Ryūkyū Kingdom.