hinrichten
to execute
To deliberately kill a person on the basis of a death sentence or by order of an authority.
Der Verurteilte wurde im Morgengrauen hingerichtet.
The convicted man was executed at dawn.

to execute
Loading your saved state.
to execute
To deliberately kill a person on the basis of a death sentence or by order of an authority.
Der Verurteilte wurde im Morgengrauen hingerichtet.
The convicted man was executed at dawn.

'Hinrichten' is a separable verb. The prefix 'hin-' goes at the end in a main clause. In subordinate clauses and in the infinitive with 'zu', the verb stays together.
Der König richtete seine Feinde hin.
The king executed his enemies.
The verb consists of the prefix 'hin-' and the verb 'richten'. 'Richten' can mean 'urteilen' (to judge), and 'hin-' describes movement toward a goal. Together, this produces the meaning of bringing someone to their final judgment.
Der Soldat weigerte sich, den Befehl auszuführen und die Zivilisten hinzurichten.
The soldier refused to carry out the order and execute the civilians.
This word is used exclusively in the context of the death penalty. It describes the killing of a person based on an official verdict or order, not just any killing.
In vielen Ländern wurde die Todesstrafe abgeschafft und niemand wird mehr hingerichtet.
In many countries, the death penalty has been abolished and no one is executed anymore.
to kill
'töten' and 'hinrichten' both have to do with a person's death. 'töten' is the general word: someone or something causes a person or animal to die. 'hinrichten' is much more specific. It means that a person is deliberately killed on command or after a death sentence. So the word fits contexts such as courts, the state, war, or power. You can kill someone without executing them. But every execution is a form of killing.

Der Gefangene wurde nach dem Urteil hingerichtet.
The prisoner was executed after the verdict.
Ein schwerer Stromschlag kann einen Menschen töten.
A severe electric shock can kill a person.