depose and deposition - relation

I was listening to a lecture on medieval history and the words depose and deposition came up. Of course, monarchs were deposed and the process was a deposition.

I was wondering how the giving of evidence outside of a courtroom is also a deposition?

Both derive from the root meaning “take down” – the monarch removed forcibly is taken down from the throne; the testimony formally recorded for use in court is taken down. FWIW, the person giving a (evidentiary) deposition is a deponent; I’ve seen the verb depone used alongside depose for the process, but in contexts that make me think it may be a folk back-formation.

Nitpick: pono, ponere, posui is Latin for put, not take.

To pose is to put into a position.
To impose is to put (something) on another.
To suppose is to put (an idea) under consideration.

Position comes from the same root, as the place where something has been put.