Egypt's brief fling with democracy draws to a close