Answer
Emperor Michael III confined Patriarch Ignatius in order to replace him with Photios I. This was because Michael III was not happy with Ignatius's leadership and wanted to bring in a new leader who would be more loyal to him. Photios I was a more compliant figure and was therefore more acceptable to Michael III.