Hamlet swears Horatio to two things. What are they?

Hamlet asks Horatio to defend him in battle and to kill Claudius if he (Hamlet) does not do it first.

Hamlet asks Horatio to promise to protect his mother, and to defend the country against Fortinbras.

Hamlet asks Horatio not to reveal the events of the evening, and to go along with him (Hamlet) if he pretends to be crazy.

Hamlet asks Horatio to promise to attend Mass for him everyday for a year if he dies, and to marry Ophelia.