Alabama Sen. Richard Shelby appeared to back the right for transgender troops to serve in the military on Wednesday, contrasting with a series of Tweets earlier in the day from President Trump.

Trump said on Twitter that transgender people should not be allowed to serve under any circumstances in the military.

Shelby was asked about the president's tweets during an interview that focused primarily on Attorney General Jeff Sessions.

.@SenShelby on transgender military ban: "You ought to treat everybody fairly & give everybody a chance to serve" https://t.co/Xj3yDt3QUH — CNN Newsroom (@CNNnewsroom) July 26, 2017

Shelby was hesitant to outright say he disagreed with Trump.

"You ought to treat everybody fairly and give everybody a chance to serve," Shelby told CNN.

Shelby also released a statement regarding Trump's apparent policy change.

"We are a nation at war," Shelby's statement said. "I am confident that (Defense) Secretary (James) Mattis and DoD leadership can and will evaluate current personnel policy that will enable us to recruit, train, and equip an all-volunteer force. Any American who wants to serve our country and is able to meet those standards should have the opportunity to do so."

Shelby said he anticipated there would be Congressional hearings regarding the new policy. Shelby serves on the Senate Defense Appropriations committee.

Shelby also said current military policy provides for a "big tent" for those who wish to serve.

"That would be a reversal of the current policy," Shelby said. "The current policy is a big tent for people who want to serve. You've got to remember, our military force is a voluntary force. I'll have to see what he actually said, read his tweet and go from there."

Another prominent Senator, Orrin Hatch of Utah, also stated on Twitter his support for transgender people in the military.