Answer
His non-Christian officials were dismissed by Andrew II in 1233 due to the pressure from the Hungarian nobility and the papal legate, who demanded the removal of non-Catholic officials from positions of power. This decision aimed to strengthen the influence of the Catholic Church in Hungary and appease both internal and external religious tensions during his reign.