Gates Were a Place for Justice
City gates a place for holding court. One of the most important uses of the gates of an ancient city was for holding court. Stone seats were provided for the judges. Thus Lot sat in the gate as a judge (Genesis 19:1). The city gates of those days would be like our modern courthouse. It was there that Boaz went to redeem the estate of Elimelech and thus receive Ruth to be his wife (Ruth 4:1).
The prophet Amos preached to Israel to "establish judgment in the gate" (Amos 5:15). The Mosaic law recognized the city gates as the place of justice: "Judges and officers shalt thou make thee in all thy gates, which the Lord thy God giveth thee, throughout thy tribes, and they shall judge the people with just judgment" (Deuteronomy 16:18). Thus it can be seen that one of the most important places in an ancient city was the gates of that city. [Manners And Customs of Bible Lands]
Read More about Gates Were a Place for Justice