Complex sentence: They were to gather outside the palace, mounted on their horses at sunrise, and the man whose horse neighed first in recognition of the rising sun would become king.
Split into simpler sentences: They were to gather outside the palace, mounted on their horses at sunrise. The horse which neighed first in recognition of the rising sun would become king.