Throughout its history, the kingdom of Armenia enjoyed both periods of independence and periods of autonomy subject to contemporary empires.