Ebed Melech was a Cushite who served Zedekiah, King of Judah. When the princes of the king had the prophet Jeremiah thrown into a cistern, Ebed Melech learned of it, and went to the king to plead for Jeremiah's life. The king ordered Ebed Melech to take three men with him and draw the prophet out of the cistern before he should die.
Ebed Melech lowered some old tattered rags and rope down to Jeremiah in the cistern, and told him "put the old tattered rags between your armpits and the ropes." Jeremiah was then pulled out of the cistern. Later, Jeremiah informed Ebed Melech that his life would be spared when the Babylonians took over Jerusalem, because of his trust in the Lord.