You will be given a definition of a task first, then some input of the task.
In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Context: Baldwin IV (1161 16 March 1185), called "the Leper", reigned as King of Jerusalem from 1174 until his death. He was the son of Amalric I of Jerusalem and his first wife, Agnes of Courtenay., The King of Jerusalem was the supreme ruler of the Kingdom of Jerusalem, the Crusader state founded by Christian princes in 1099 when the First Crusade took the city., Agnes of Courtenay ( c. 1136 -- c. 1184 ) was the daughter of Joscelin II of Courtenay by his wife Beatrice ( widow of William , Lord of Saone ) , and the mother of king Baldwin IV of Jerusalem and queen Sibylla of Jerusalem ., Subject: agnes of courtenay, Relation: spouse, Options: (A) agnes of courtenay (B) amalric i of jerusalem (C) christian
Output:
amalric i of jerusalem