Argentina midfielder Javier Mascherano signed a four-year contract with Liverpool on Friday.