During the Sixth Crusade (1228  1229), the Holy Roman Emperor Frederick II managed to secure Jerusalem for the Christians by negotiation.
It was during the Fifth crusade that Jerusalem was negotiated for the Christians by the Holy Roman Emperor Frederick II.