TNG-The Ensigns of Command. Stubborn colonists, Sheliak legal madness, good dilemmas for Picard and Data to overcome. The title of this episode is based on a poem by John Quincy Adams.
I want the seals of power and place,
The ensigns of command,
Charged by the people's unbought grace,
To rule my native land.
Nor crown nor sceptre would I ask,
But from my country's will,
By day, by night, to ply the task
Her cup of bliss to fill.