The Senate passed a resolution expressing support for Israel on the same night the country launched a ground offensive into the Gaza Strip.

Sens. Bob Menendez (D-N.J.) and Lindsey GrahamLindsey Olin GrahamSteyer brings his push to impeach Trump to town halls across the nation Trump formally sends Pompeo nomination to Senate GOP leaders to Trump: Leave Mueller alone MORE (R-S.C.) authored S.Res. 498, which reaffirms Senate support for Israel, condemns unprovoked rocket fire and calls on Hamas to stop all rocket attacks on Israel.

“The United States Senate is in Israel’s camp,” Graham said on the Senate floor Thursday.

Passage of the resolution came moments after Israel announced that it launched a ground offensive into the Gaza Strip, following a week of heavy rocket attacks from Hamas forces.

“Hamas must end its rocket and mortar attacks and recognize Israel’s right to exist,” Sen. Ben CardinBenjamin (Ben) Louis Cardin Senate Dem hoping Pompeo now has 'greater appreciation' for balancing national security, civil rights Time for the Pentagon to create a system to better track its spending Trump, lawmakers cautious on North Korea signal MORE (D-Md.) said. “It cannot be allowed to continue its terrorist acts.”

Tensions have flared between Israel and Hamas since three Israeli teens were killed. A Palestinian teenager was found dead shortly after in what is believed to be retaliation.

Sen. Rand PaulRandal (Rand) Howard PaulTrump formally sends Pompeo nomination to Senate Spending bill delay raises risk of partial government shutdown support Overnight Defense: Senate sides with Trump on military role in Yemen | Dem vets push for new war authorization on Iraq anniversary | General says time isn't 'right' for space corps MORE (R-Ky.) supported the resolution, which passed through a unanimous consent agreement, but said, “I want more teeth in this.”

He called on the Senate to pass his bill, S. 2265, which would end all U.S. foreign aid to the Palestinian Authority until it kicks Hamas out of its unity government, among other things.

— Rebecca Shabad contributed to this article.