Wen Jiao (溫嶠) (288–329), courtesy name Taizhen (太真), formally Duke Zhongwu of Shi'an (始安忠武公), was a renowned Jin Dynasty (265-420) general and governor.
Wen Jiao's father Wen Dan (溫澹) was a commandery governor, and his uncle Wen Xian (溫羨) was an early Jin prime minister. His maternal aunt was the wife of the general Liu Kun (劉琨), who for years tried in vain to stop Han Zhao forces from seizing Bing Province (并州, modern central and northern Shanxi) from Jin.
In 317, after Emperor Min had been captured by Han Zhao, Liu Kun, who had then lost Bing Province and was at the headquarters of Duan Pidi (段匹磾), the governor of You Province (幽州, modern Beijing, Tianjin, and northern Hebei), commissioned Wen Jiao to head to Jiankang to offer Sima Rui the Prince of Langye a petition to assume imperial title. Although his mother Lady Cui tried to stop him from leaving, he went anyway. Once Wen arrived in Jiankang, many of the Jin officials in the provisional capital, including Wang Dao, Zhou Yi (周顗), and Yu Liang were impressed by his talents and sought to befriend him. He sought to return north, but Sima Rui ordered him to stay. When Liu Kun was killed by Duan in 318 (after Duan became concerned that Liu, whose son Liu Qun (劉羣) had been captured by his rival for the Duan tribal leadership, Duan Mopei (段末柸), might betray him to rescue Liu Qun), Wen, having heard that his mother Lady Cui had also died in the interim, again sought to return north, but Sima Rui, who had by now taken the imperial title (as Emperor Yuan), ordered him to stay and further ordered him to serve in his administration. He became a friend and a trusted advisor of the crown prince, Emperor Yuan's son Sima Shao. When the warlord Wang Dun resisted Emperor Yuan and captured the capital Jiankang in 322, it was Wen who stopped Crown Prince Shao from taking the risky maneuver of engaging in a final confrontation with Wang. As the years went by, Wen became known for being a good judge of talent.