Complex sentence: The Intermediate Period came as a huge shock to the Egyptian government and military since they had been secure in the stability and prosperity of the Old Kingdom.
Split into simpler sentences: The Intermediate Period came a huge shock to the Egyptians both in the government and the military. They were very comfortable in the safety and prosperity of the Old Kingdom.