Beit Guvrin, Botzrah, and Mashiah
Yalkut Shimoni, quoting Midrash Avkir [text | inside]:
This Midrash tells us that the King Mashiah will receive the kingship from Edom when its ministering angel runs away to Beit Guvrin. It later runs away to Botzra, where Hashem grabs it and Eliyahu slaughters it.
Where is Beit Guvrin and where is Botzra?
Beit Guvrin is an ancient city in Judea a few miles northeast of Hevron. It was an Arab village before 1948 called "Bayt Jibrin". Currently, there is a Kibbutz near the ancient site. The Roman Emperor Septimus Severus called it "Eleutheropolis", meaning "City of the Free". Bereishit Rabba 42 identifies the Horites (from Bereishit 14:6, 36:20 and Devarim 2:12,22) with Eleutheropolis (the Girsa'ot that say "Metropolin"[like this one] seem to be in error, say the Aruch and Tevu'ot Ha'aretz) as they lived in Se'ir until Edom conquered them. Some want to say that the name that means "City of the Free" is related to the word חורי, as in חירות. Others reject that and say that the word חורי is so-named due to the caverns in the area. Regarding the name בית גוברין, The Tevu'ot Ha'aretz suggests it could be that just like Hevron, giants lived there. Hence, the name Guvrin (strong). Targum Yerushalmi on "Hevron" (Bereishit 23:2) says "בקרייתהון דגובריא". Bereishit Rabba 67:6 explains Yitzhak's blessing to Esav: "Behold, of the fat places of the earth shall be thy dwelling" refers to Italy. "And of the dew of heaven from above" refers to Beit Guvrin.(See Erech Milin, who has a lengthy discussion on the city.)
Beit Guvrin was an administrative center for the District of Edomea during the time of Hurdus (King Herod). It was later captured by the Romans. The Tevu'ot Ha'aretz identifies it with the "Eilat" mentioned in the Mishna in Ma'aser Sheni 5:2. It was exempt from Shemita prohibitions, said Ribbi (Ribbi Yehuda Hanasi) in Yerushalmi Demai 2:1. The commentaries there explain that those who came up with Ezra from Bavel didn't take hold of the city as a Jewish stronghold. Despite it not being necessarily a Jewish city, there were a number of Tanna'im and Amora'im that lived there.
The 16th century former converso Rav Shelomo Molcho interpreted the above Midrash Avkir as saying that the Beit Guvrin referred to is actually Italy (and not the known city in Judea). He believed in the imminent arrival of Mashiah based on this. He therefore went to Rome and told this to the Pope, who thought he meant a second coming of their messiah, so they liked what he said at that time. While his interpretation of the Midrash worked well for him, it doesn't seem to be its simple explanation.
An author named Moshe Sharon, based on Arab sources, wants to identify Bein Guvrin with the Beer Sheva of the Avot.
Much has been written on Botzra. Botzra is mentioned all over Tanach as a city of Edom. The most famous reference to Botzra is from Yeshaya 63:1 depicting the demise of Edom at the hands of HKB"H Himself.
Botzra has famously been interpreted by the Lubavitcher Rebbe ZT"L as referring to the First Gulf War where there was a battle in Basra, Iraq that has the same Hebrew name of בצרה. While it is a nice interpretation, there are 3 other Botzras to consider:
A) There is the typical Botzra of Edom, just southeast of the Dead Sea.
B) There is Betzer (Devarim 4:43), one of the cities of refuge in the portion of Reuven.
C) There is Bosra, Syria, near Daraa.
While it would seem obvious to use interpretation A for this Midrash since it refers to Edom, there are good reasons to use B and other good reasons to use C.
We may want to use B since the Midrash specifically mentions that the Sar of Edom considered Botzra a city of refuge. [UPDATE - See Makkot 12a where this is exactly one of the mistakes of the Sar of Edom - going to Botzra instead of Betzer - so B should not be a possibility. See also Avoda Zara 58b where Reish Lakish makes the same error. Thank you commenter Od Chazon Lamoed, who pointed to the last footnote here.]
We may alternatively want to use C for historical reasons. The Midrash may have been written at the same time that Sefer Zerubavel was written - in the seventh century CE. In the year 634, the Battle of Bosra took place, when the Islamic armies defeated Heraclius and the Byzantine army. It seems that right beforehand, another Islamic army defeated Beit Guvrin. This may be the reasoning behind the Midrash, as it wanted to connect it to current events of the time. After the Muslims would get it, the theory goes, it would soon afterwards, hoped the Midrash, be given to the Jewish people. This is just a theory, and even if the theory is true, it doesn't necessarily mean that it is not connected to future events as well.
May the King Mashiah take the kingdom away from Edom speedily in our days, Amen.