There is a small park between the Blue Mosque and the Azerbaijan Museum in Tabriz. A large statue of the great poet, Khaqani, has been installed in this park and that is why it is known as Khaqani Park.
The Blue Mosque of Tabriz, adjacent to Khaqani Park, according to the inscription on its entrance, was built in 845 AH during the reign of Sultan Jahanshah, the most powerful ruler of the Qaraqoyunlu dynasty.
In the earthquake of 1158 AD, a lot of damage was done to the mosque and as a result of this earthquake, the domes of the mosque collapsed. Therefore, what we see from this mosque at the moment is in some parts the result of recent reconstructions. In a part of the mosque, there is the tomb of Jahanshah and his wife.