Near the end of the main quest line. After entering the great temple. Before approaching the man on the throne. Shoot the woman in the glass box and take her crown. Then loop through time and talk to the guide on the throne and throw the crown at him.
Tried to keep this as spoiler free as possible.