The United States , the European Union , Russia and the United Nations -- the so-called quartet on the Middle East -- have lined up in solidarity with Israel in calling on Hamas , which won the Palestinian legislative elections , to modify its radical policies .