Question: why was aemon sent to the wall?
Answer: Aemon chose to go to the Wall and join the Night's Watch for fear that he might be used in a plot to usurp his brother, King Aegon V Targaryen. The king provided Aemon with an "honor guard" (emptying the dungeons) to take the vows of the Watch with him.