U.S. President Donald Trump threatened Hamas with reprisals if the group continued killings inside of Gaza, saying that such action violated the ceasefire agreement he helped broker with Israel.

"If Hamas continues to kill people in Gaza, which was not the Deal, we will have no choice but to go in and kill them,” Trump posted Thursday on social media. "Thank you for your attention to this matter!”

The president’s remarks appeared to open the door for direct U.S. military action in Gaza, which would mark an escalation from previous statements from the administration warning that the U.S. would back renewed Israeli strikes if the terms of the deal were violated.