Which one is corrrect

1. Those grammar books by Robby Lou were published between years 2004 and 2007.
2. Those grammar books by Robby Lou were published between the years 2004 and 2007.

Answers:
No. 2 (Those grammar books by Robby Lou were published between the years 2004 and 2007.) is correct