In the darkness the Spaniards could hear the movements of large numbers of Maya warriors, and by sunrise the Spanish had been surrounded by a sizeable army.
The Spaniards could hear the movements of large numbers of Maya warriors. This is in the darkness. The Spanish had been surrounded by a sizeable army. This was by sunrise.