Around the same time Pompey was defeated by Julius Caesar, Hyrcanus was followed by a member of his court, Antipater. Caesar and Antipater were both killed in 44 BC, and Herod, Antipater's son, was appointed as governor ("tetrarch") by Rome in 41 BC. He became the king ("basileus") of Judea in 37 BC, and was known as King Herod the Great. During his reign, the great port of Caesarea Maritima was built. He died in 4 BC, and his kingdom was divided among his sons. One of these was Herod Archelaus, who ruled Judea so badly that he was made to quit in 6 AD by the Roman Emperor Augustus Caesar, after his own people complained about him. 