Equality Utah Executive Director Troy Williams, left, April Hoagland, center, Beckie Peirce smile during a press conference outside of the Juvenile Court in Price, Utah Friday, Nov. 13, 2015. The married same-sex couple said Friday they are relieved after finding out they will be able to keep a baby girl they have been raising as foster parents. They spoke hours a judge reversed his ruling to take the 9-month-old child and place her with a heterosexual couple for her well-being. Photo: Chris Detrick/The Salt Lake Tribune via AP

Equality Utah Executive Director Troy Williams, left, April Hoagland, center, Beckie Peirce smile during a press conference outside of the Juvenile Court in Price, Utah Friday, Nov. 13, 2015. The married same-sex couple said Friday they are relieved after finding out they will be able to keep a baby girl they have been raising as foster parents. They spoke hours a judge reversed his ruling to take the 9-month-old child and place her with a heterosexual couple for her well-being. Photo: Chris Detrick/The Salt Lake Tribune via AP

SALT LAKE CITY — A Utah judge who had ordered a baby girl taken away from her lesbian foster parents and placed with a heterosexual couple has removed himself from the case as criticism mounted into calls for his impeachment.

Judge Scott Johansen reversed his order last week to remove the 9-month-old baby from the home of April Hoagland and Beckie Peirce, allowing the girl to stay with the married couple as recommended by state child welfare workers.

But there were concerns he could still have the baby removed from their home in Price, about 120 miles south of Salt Lake City, at a hearing set for Dec. 4.

The couple asked that the judge be disqualified. In an order released Monday, Johansen wrote that while the foster parents do not have legal standing in the case, he is nevertheless stepping aside.

The case will be referred to presiding juvenile Judge Mary Manley.

In his initial decision, Johansen mentioned research showing children do better when raised by heterosexual families. The American Psychological Association, however, has said there’s no scientific basis for believing that gays and lesbians are unfit parents based on sexual orientation.

He removed himself from the case after widespread criticism from national gay rights groups, the Republican governor and others.

A gay rights group has filed a complaint with state judicial officials, and the watchdog group Alliance for a Better Utah on Monday called for state lawmakers to impeach the judge.

Johansen is barred from speaking about pending cases and a call to his publicly listed phone number went unanswered Monday.

The couple’s lawyer did not immediately respond to a message seeking comment on Johansen’s decision to step aside.

Josh Kantor, the founder of the progressive-leaning Alliance for a Better Utah, said the judge’s move would not change the group’s push to get state lawmakers to remove him from the bench.

“This guy now has a pattern of doing these kinds of outrageous things,” Kanter said.