Crossword Genius

Bali without a leader of course, after Peru sacked country such as Indonesia (8)

Ross

I believe the answer is:

republic

I'm a little stuck... Click here to teach me more about this clue!

'country such as indonesia' is the definition.
I can't judge whether this definition defines the answer.

'bali without a leader of course after peru sacked' is the wordplay.
'without' indicates named letters should be taken away.
'leader of course' becomes 'c' (I am not sure about this - if you are sure you should give a lot more credence to this answer).
'after' is a charade indicator (letters next to each other).
'sacked' is an anagram indicator.
'bali' with 'a' taken away is 'bli'.
'peru' with letters rearranged gives 'repu'.
'bli'+'c'='blic'
'blic' after 'repu' is 'REPUBLIC'.

Can you help me to learn more?

(Other definitions for republic that I've seen before include "State in which the people hold the power" , "Country with no king" , "France, for example, is one" , "See 17" , "Commonwealth" .)

I've seen this clue in The Guardian.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.