In 1276 they founded Fes Jdid, which they made their administrative and military centre. While Fes had been a prosperous city throughout the Almohad period, even becoming the largest city in the world during that time, it was in the Marinid period that Fes reached its golden age, a period which marked the beginning of an official, historical narrative for the city. It is from the Marinid period that Fes' reputation as an important intellectual centre largely dates, they established the first madrasas in the city and country. The principal monuments in the medina, the residences and public buildings, date from the Marinid period.