A- He reunited the Franks to fight to fight off Muslim Invasion.
He won a decisive battle against the Muslim invasion during the Battle of Tours after which they never attacked France again and stayed in Spain.
The main reason why we know more about Hammurabi's Code than other early forms of law is because Hammurabi's Code was the first (or at least one of the first) codes of law to be permanently inscribed on stone instead of issued on paper or through word of mouth.
................../.......