By the end of twenty years, King Solomon had built two buildings—the Temple of the Lord and the royal palace.