This period spanned the years from July 1004 through December 1012 .
This period started in July 1004 and ended in December 1012 .