Judges4:4

Israel had endured twenty years of grievous oppression for idolatry, then turned from idolatry and with humiliation and repentance cried to the Lord for deliverance. Deborah was a woman dwelling in Israel, illustrious for piety, whom the Lord chose to deliver His people. She was known as a prophetess. Her judging Israel at that time means that in the absence of the usual magistrates the people sought to her for counsel and justice.