Sanchez, the leader of the Socialist Workers' Party, was reelected as Spain's prime minister by the country's parliament last Thursday.
"I just had a telephone conversation with President Joe Biden ... We discussed the dramatic situation in Gaza, and I expressed my willingness to seek a political solution that will make it possible for the State of Palestine and the State of Israel to coexist in peace and security," Sanchez said on X.
Both leaders also reaffirmed the need to support transatlantic unity in the face of global challenges, the Spanish prime minister added.
On October 7, Palestinian movement Hamas launched a large-scale rocket attack against Israel from the Gaza Strip, while its fighters breached the border, opening fire on the military and civilians. As a result, over 1,200 people in Israel were killed and some 240 others abducted. Israel launched retaliatory strikes, ordered a complete blockade of Gaza and launched a ground incursion into the Palestinian enclave with the declared goal of eliminating Hamas fighters and rescuing the hostages. Over 20,000 people have been killed so far in Gaza as a result of Israeli strikes, local authorities said.
On November 24, Qatar mediated a deal between Israel and Hamas on a temporary truce and the exchange of some of the prisoners and hostages, as well as the delivery of humanitarian aid into the Gaza Strip. The ceasefire was extended several times and expired on December 1.