The Middle Stoa was constructed in around 180 BC. It is sometimes thought to be a gift to the city by the king of Pontus Pharnaces I. It was the longest building in the Agora of Athens, measuring 147 metres long and 17.5 m. wide. Its function was mainly commercial.