What dynasty did mongols control?

They controlled the Yuan Dynasty it means "beginning". They came after the Tang Dynasty.