and if the petition or amended petition contained an allegation that the parent is an unfit person as defined in subdivision (D) of Section 1 of the Adoption Act, and the order of adjudication recites that parental unfitness was established by clear and convincing evidence, the court shall, when appropriate and in the best interest of the minor, enter an order terminating parental rights and appointing a guardian with power to consent to adoption in accordance with Section 2-29.
When making a placement, the court, wherever possible, shall require the Department of Children and Family Services to select a person holding the same religious belief as that of the minor or a private agency controlled by persons of like religious faith of the minor and shall require the Department to otherwise comply with Section 7 of the Children and Family Services Act in placing the child. In addition, whenever alternative plans for placement are available, the court shall ascertain and consider, to the extent appropriate in the particular case, the views and preferences of the minor.
705 ILCS 405/2-27