0

Which sentence is grammatically correct?
There were many factors contributed to the decline of Islamic Era.
There were many factors contributing to the decline of the Islamic Era.
Can I use 'contributed' as a verb with 'were'? The second question is do I need to use 'the' before 'Is...