Two amateur treasure hunters were sentenced Friday to lengthy prison terms for stealing millions of dollars worth of 1,100-year-old coins. The coins date back to the period when the Anglo-Saxons were battling Vikings for control of England.

British metal detectorists George Powell, 38, and Layton Davies, 51, dug up the 300 coins along with gold and silver jewelry in 2015 on farmland in central England but never reported it. That reporting is a legal requirement.

Prosecutor Kevin Hegarty said the coins were estimated to be worth $3.9 million to $15.4 million.

1,100-YEAR-OLD VIKING TREASURE REVEALS ITS SECRETS

The archaeological wonders are believed to have been buried by a member of the Viking army that was being pushed across England by Saxon forces.

It “represents a nationally important assemblage created at the very point England was forming and becoming a nation with a single identity under the vision of (King) Alfred the Grea,” Hegarty said.

In a Worcester Crown Court, Powell was sentenced to 10 years for the theft and Davis was given more than eight years.

Judge Nicholas Cartwright said had the pair reported the find, they would have received a third to half of its value.

CLICK HERE TO GET THE FOX NEWS APP

"You could not have done worse than 500,000 pounds each,” he said. "But you wanted more."

Both men instead tried selling the coins through antique dealers. Some of the jewelry and some 30 coins have been recovered.

Powell’s lawyer, James Tucker, described the coins as a temptation that became a curse. He said his client “wishes he had never found the treasure.” Two other men were convicted with helping to conceal the treasure.

The Associated Press contributed to this report.