How were the roles of the two goats determined in the Yom Kippur service?
The High Priest cast lots to determine which goat was for God and which was for Azazel. Red wool was tied around the head of the goat for Azazel, which was placed by the eastern gate to be led out later. Another piece of red wool was tied around the neck of the goat designated for God.
Quote from the source«Then he drew lots for the two goats (to determine which one was for Hashem and which for Azazel).»
- Author
- Rambam
- Source
- Parsha.net — YomKipur62, p. 8