Q: WHAT YEAR DID SAMUEL CEASE TO BE JUDGE OF ISRAEL?
A: IT DEPENDS WHAT CALENDAR YOU ARE USING!
On the Gregorian calendar (the one you might have on your wall) the year was 1039 BC.
On the Hebrew calendar, sometimes called the biblical calendar, the year was 3008 AM.
Acts 13:21 New King James Version (NKJV)
21 And afterward they asked for a king; so God gave them Saul the son of Kish, a man of the tribe of Benjamin, for forty years.