Mayor Pete Buttigieg on Thursday accused Republicans of religious "hypocrisy" over the Trump administration's approach to immigration.

"For a party that associates itself with Christianity to say it is okay to suggest that God would smile on the division of families at the hands of federal agents, that God would condone putting children in cages, has lost all claim to ever use religious language," Buttigieg said at the second night of the first Democratic debates in Miami.

religious Buttigieg, the mayor of South Bend, Indiana, has frequently discussed his Christian faith along the campaign trail thus far.

MIAMI — South Bend, Indiana, Mayor Pete Buttigieg during the second night of the first 2020 Democratic debates on Thursday accused Republicans of religious "hypocrisy" over the party's immigration practices under President Donald Trump.

"For a party that associates itself with Christianity to say it is okay to suggest that God would smile on the division of families at the hands of federal agents, that God would condone putting children in cages, has lost all claim to ever use religious language," Buttigieg said.

"We should call out hypocrisy when we see it," he added.

Read more: Beto O'Rourke and Bernie Sanders visited a migrant child detention facility, prompting emotional, powerful scenes

Buttigieg was seemingly criticizing the Trump administration's controversial family-separation policy in relation to the Republican party's tendency to invoke Christianity in defense of certain political positions.

This came as the Trump administration faces widespread criticism over conditions in detention facilities for migrants — particularly those that confine children.

Buttigieg has often discussed his Christian faith along the campaign trail, and he suggested in March that the country needs to see a "religious left" emerge.

"Living your faith might also have to do with paying more attention to those most in need and not celebrating those who already have the most wealth and the most power," Buttigieg said.

And in May, Buttigieg said "if God belonged to a political party," he "can't imagine" it would be the GOP.