Removing oil pressure sender

What size socket do I use to get off the oil pressure sender?

I can’t remember, but I think its 19mm. Whatever fits man.

its 24mm deep socket