Complex sentence: The firing squad is legal, but seldom used in Iran today, but was used historically for military and political crimes.
Split into simpler sentences: The firing squad is legal, but seldom used in Iran today. Historically it was used historically for military and political crimes.