Bridge Bancorp in Bridgehampton, N.Y., said Tuesday that it has agreed to buy Hamptons State Bank of Southampton, N.Y., for $6.3 million.

The combined bank would have $1.1 billion in assets. Hamptons State shareholders would receive 0.34 shares of Bridge common stock. The deal is expected to close in the third quarter.