Q: Context: The palace was built by the emperor Akbar. It is one of the earliest surviving buildings of Akbar's reign. Jahangir in his memories has clearly mentioned that the buildings were erected by his father Akbar but did not take any credit for the construction of Jahangiri palace or Mahal. Mughal empress Nur Jahan used this magnificent palace as her residence until her death on 17 December 1645.

Question: who built the jahangir palace in agra fort?
Let's give stream of consciousness below
The relevant information to answer the above question is: The palace was built by the emperor Akbar. So the answer is the emperor Akbar.