MS Dhoni first Test and ODI century against the same opposition:

MS Dhoni made the debut in the Team in 2004. He had a string of low scores in his first two to three matches. He finally got his breakthrough in the Pakistan ODI series in 2005 (at Visakhapatnam). The then captain Sourav Ganguly promoted him in top order and he registered his maiden international century. He scored 148 runs off 123 balls, striking fifteen fours and four sixes.
Interestingly, he also scored his maiden Test century against Pakistan at Faisalabad in 2006. Also, he got out after scoring 148 runs (same his ODI score).