According to "Legends of the Jews", Tamar was endowed with a prophetic gift which allowed her to know the future of her descendants. From this gift, she knew that she would be the ancestress of royal line of David and mighty prophets. While she was standing in gate of Timnah and wearing a veil; Judah, who was intoxicated from wine that twisted his understanding away, came to her. After that, he left her with three symbolical pledges; his staff, the stay of Tribe of Judah; his mantle, representation of his strength; and his signet-diadem, the glory of kingdom of Judah. When her state became known, Tamar was dragged before the court, in which Isaac, Jacob, and Judah as the judges.