What establishment did the politics at court shift in favor of?