how is the fate of the Austro Hungarian empire similar to that of the ottoman empire in 1 sentence

Both empires faced internal divisions, ethnic tensions and external pressures leading to their eventual dissolution and fragmentation in the aftermath of World War I.