Первый Кодекс английских законов был составлен по указу короля Альфреда Великого в IX веке н. э. The first Code of English Law has compiled by decree of King Alfred the Great in the 9th century A.D. The first Code of English Law was compiled by decree of King Alfred the Great in the 9th century A.D.
Грамотно переведите эти два предложения - и вы увидите: has compiled = составил - что бессмысленно в данном контексте. was compiled = был составлен. Это Past Simple, причем в пассиве.
The first Code of English Law has compiled by decree of King Alfred the Great in the 9th century A.D.
The first Code of English Law was compiled by decree of King Alfred the Great in the 9th century A.D.