Duke Ai of Qi
Duke Ai of Qi (reigned 9th century BC) was the fifth recorded ruler of the ancient Chinese state of Qi during the Western Zhou Dynasty.
His personal name was Lü Buchen (呂不辰),
ancestral name Jiang (姜), and Duke Ai was his posthumous title.
Duke Ai succeeded his father Duke Gui of Qi as ruler of Qi.
Duke Ai had a dispute with the marquis of Qi's neighbouring state Ji (紀).
King Yi of Zhou sided with Marquis of Ji and executed Duke Ai by boiling him to death.
King Yi installed Duke Ai's younger half-brother Jing on the throne, later known as Duke Hu of Qi.
Duke Gong of Qin
Duke Gong of Qin (died 604 BC) was from 608 to 604 BC the sixteenth ruler of the Zhou Dynasty state of Qin that eventually united China to become the Qin Dynasty.
His ancestral name was Ying (嬴), and Duke Gong was his posthumous title.
Duke Gong succeeded his father Duke Kang of Qin, who died in 609 BC, as ruler of Qin.
He reigned for five years before dying in 604 BC.
He was succeeded by his son, Duke Huan of Qin.
Duke Hui I of Qin
Duke Hui I of Qin( died 492 BC) was, from 500 to 492 BC, the 20th ruler of the Zhou Dynasty Chinese state of Qin that eventually united China to become the Qin Dynasty.
His ancestral name was Ying( 嬴), and Duke Hui was his posthumous title.
He was the first of the two rulers of Qin called Duke Hui. In 501 BC Duke Ai of Qin, Duke Hui's grandfather, died after 36 years of reign.
Duke Hui's father predeceased Duke Ai and was given the posthumous title Duke Yi( 秦夷公), and Duke Hui succeeded his grandfather as the ruler of Qin.
Duke Hui reigned for nine years and died in 492 BC.
He was succeeded by his son Duke Dao of Qin.
Duke Xian of Qi
Duke Xian of Qi (died 851 BC) was from 859 to 851 BC the seventh recorded ruler of the State of Qi during the Western Zhou Dynasty of ancient China.
His personal name was Lü Shan (呂山),
ancestral name Jiang (姜), and Duke Xian was his posthumous title.
Duke Xian was a younger son of Duke Gui of Qi.
When Duke Gui died, Duke Xian's older brother Buchen ascended the throne, to be posthumously known as Duke Ai of Qi.
Duke Ai had a dispute with the marquis of Qi's neighbouring state Ji (紀).
King Yi of Zhou sided with Marquis of Ji and executed Duke Ai by boiling him to death.
King Yi then installed Jing, a half-brother of Duke Ai and Duke Xian, on the throne, to be posthumously known as Duke Hu of Qi.
Duke Hu moved the capital of Qi from Yingqiu (later known as Linzi) to Pugu (or Bogu).
The move was resented by the people of Yingqiu, who rebelled under the leadership of Duke Xian.
Duke Hu was killed and Duke Xian ascended the throne.
Duke Xian expelled the sons of Duke Hu and moved the capital back to Linzi.
He reigned for 9 years and died in 851 BC.
He was succeeded by his son, Duke Wu of Qi.
King Yi of Zhou (Xie)
King Yí of Zhou  was the ninth king of the Chinese Zhou Dynasty.
Estimated dates of his reign are 885–878 BC or 865–858 BC.
He was preceded by his uncle, King Xiao of Zhou, who may have overthrown his father.
In the third year of his reign, King Yi sided with Marquis of Ji in a dispute with Duke Ai of Qi and executed Duke Ai by boiling him to death in a large cauldron.
King Yi installed Duke Ai's younger half-brother Jing on the throne, later known as Duke Hu of Qi.
During his reign there were wars in the south with the State of Chu and the Dongyi.
According to the Shiji, during his reign the royal power was not strong and the regional rulers failed to pay obeisance to the court.
He was succeeded by his son, King Li of Zhou.
Duke Ai of Qin
Duke Ai of Qin (died 501 BC) was from 536 to 501 BC the nineteenth ruler of the Zhou Dynasty state of Qin that eventually united China to become the Qin Dynasty.
His ancestral name was Ying (嬴), and Duke Ai was his posthumous title.
Duke Ai succeeded his father Duke Jing of Qin, who died in 537 BC, as ruler of Qin.
King Huiwen of Qin
King Huiwen of Qin( 356–311 BC), also known as Lord Huiwen of Qin or King Hui of Qin, given name Si( 駟), was the ruler of the Qin state from 338 to 311 BC during the Warring States period of Chinese history and likely an ancestor of Emperor Qin Shi Huang.
He was the first ruler of Qin to style himself" King"( 王) instead of" Duke"( 公).
Marquis of Qin
The Marquis of Qin( died 848 BC) was the second ruler of the ancient Chinese state of Qin, founded when his father Feizi was granted a small fief at Qin by King Xiao of Zhou.
The Marquis of Qin succeeded his father, who died in 858 BC, and ruled for 10 years.
He died in 848 BC and was succeeded by his son Gongbo.
His ancestral name was Ying, but his given name is not known.
Although Qin would eventually develop into a major power that would conquer all other Chinese states and unite China in 221 BC to start the Qin Dynasty, at the time of the Marquis of Qin it was still a minor state of the Western Zhou Dynasty classified as an" attached state"( 附庸," fuyong").
Qin rulers did not receive any nobility rank until four generations later during the reign of Duke Xiang of Qin, so" the Marquis of Qin" was presumably an honorific posthumous title that his descendants used to refer to him.
Duke Hu of Qi
Duke Hu of Qi
(reigned 9th century BC) was the sixth recorded ruler of the ancient Chinese state of Qi during the Western Zhou Dynasty.
His personal name was Lü Jing (呂靜),
ancestral name Jiang (姜), and Duke Hu was his posthumous title.
Duke Hu was a younger son of Duke Gui of Qi.
When Duke Gui died, Duke Hu's older half-brother Buchen ascended the throne, to be posthumously known as Duke Ai of Qi.
Duke Ai had a dispute with the marquis of Qi's neighbouring state Ji (紀).
King Yi of Zhou sided with Marquis of Ji and executed Duke Ai by boiling him to death.
King Yi then installed Duke Hu on the throne.
Duke Hu moved the capital of Qi from Yingqiu (later known as Linzi) to Bogu.
The move was resented by the people of Yingqiu, who rebelled under the leadership of Duke Hu's half-brother Shan, who was the younger full-brother of Duke Ai.
Duke Hu was killed and Shan ascended the throne, to be known as Duke Xian of Qi.
Duke Jing of Qin
Duke Jing of Qin (died 537 BC) was from 576 to 537 BC the eighteenth ruler of the Zhou Dynasty state of Qin that eventually united China to become the Qin Dynasty.
His ancestral name was Ying (嬴), and Duke Jing was his posthumous title.
Duke Jing succeeded his father Duke Huan of Qin, who died in 577 BC, as ruler of Qin.

Question: Who is the paternal grandfather of Duke Ai Of Qin?
Answer: Duke Huan of Qin