The three-time Dakar Rally champion was elated after the win.
"I am so happy. This was one event that I really wanted to win and I have now managed that. It was a long demanding rally with several difficult stages towards the end in the dunes in China.
"This win is also a first for Toyota and means that Matthieu and I have now won every rally in which we have taken part this year," the ace Qatari said.
A delighted Baumel added: "Nine stage wins out of nine. This is an historic record in a major rally..."
The Overdrive Racing duo now switch their attention to the Baja Spain Aragon, round four of the 2019 FIA World Cup for Cross-Country Bajas, at the end of July.
Al-Attiyah had taken a lead of 59min 58sec into the penultimate special stage and the second of the passes through the treacherous dunes of the Gobi Desert.
Around 290km were timed against the clock between Alashan and Jiayuguan and Al Attiyah stopped the clock in a time of 3hrs 52min 17sec.
That enabled the Qatari to extend his overall lead to 1hr 10min 46sec over Han Wei heading into the final stage after Frenchman Pelichet dropped 39 minutes on the tricky special.
"The first two stages in the Gobi desert weren't easy. There were a lot of dunes, camel grass and the average speed was really slow. We took more than four hours to cover the first one and nearly four hours for the second one. I think the organisation had kept these tough stages up their sleeves until the end," the Qatari added.