The Browns have hired Buffalo defensive coordinator Mike Pettine as their coach, ending a twisting, nearly four-week search.