What’s the name of the period of the Japanese history when samurais lived their golden years?

Question: What’s the name of the period of the Japanese history when samurais lived their golden years?

Choices:

Meiji
Kamakura
Heian
Edo

Correct answer:

Edo