In time Yan Song and his son Yan Shifan – who gained power only as a result of his father's political influence – came to dominate the whole government even being called the "First and Second Prime Minister".