"In the post-independence era riddled with social unrest, ~~."

To make this phrase grammatically correct, do I need to switch "the" to "a"?

Or does it not matter?

If yes, would you please explain why?

Thanks