The occupation of government offices in the Cook Islands has come to an end after a compromise was reached by the Democratic party.
The party called for supporters to occupy its offices after the caretaker government asked them to vacate their premises by today to make room for a minister.
The party's deputy leader, Tepure Tapaitau, says they've now reached an agreement with the Cook Islands Investment Corporation, which is the crown agency dealing with government properties, to move out by the end of the week.
But he says they're still refusing to move into the opposition offices as was first suggested.
"If we do that, then the public perception out there is that we have accepted the fact that we are the opposition. In which we are not in any way going to condone that move because parliament has not convened."
Mr Tapaitau says the party will be moving into the old justice department building.
Parliament cannot convene until all electoral petitions are resolved.