Complex sentence: After a five-day battle, the revolutionaries took the capital's control, while their leaders gathered in the Baharestan palace and decided to replace Mohammad Ali Shah Qajar with Ahmad Shah Qajar.
Split into simpler sentences: After a five-day battle, the revolutionaries took the capital's control. At the same time, their leaders gathered in the Baharestan palace and decided to replace Mohammad Ali Shah Qajar with Ahmad Shah Qajar.