The history of Europe is breathtakingly complex. While there are rare exceptions like Andorra and Portugal, which have had remarkably static borders for hundreds of years, jurisdiction over portions of the continent’s landmass has changed hands innumerable times.
You can also check out the Rulers of those years in this video:
Source of shared Link
It is so remarkable to see how various nations evolved over the ages