Who cut off the end of Saul's skirt while he was going to the bathroom?

(Without even being noticed!)

David

Saul went in to cover his feet: and David and his men remained in the sides of the cave. ...

Then David arose, and cut off the skirt of Saul's robe privily. 1 Samuel 24:3