Although the capital was moved to Edirne in 1362 , and then to Istanbul , Bursa remained an important town , with a rich legacy of religious architecture the foun ? Τer of the Ottoman dynasty and five of his successors are buried here .
Edirne did not become the capital until the 16th century .