When the truce of Hudaibiya took place?

When the truce of Hudaibiya took place?

A. 6th Hijri
B. 7th Hijri
C. 5th Hijri
D. 4th Hijri