The troops stood in neat rows and performed ceremonies on the grounds, with spectators watching.