I vote for 'was'. 'A very interesting part' = 'a very interesting period'. The term 'Middle Ages' is used here as a unit (span) of time, not an aggregate of multiple times.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.