Stonegate Bank is increasing its footprint in Broward and Palm Beach counties with an agreement announced Tuesday to buy the parent of five-branch Regent Bank for $40 million.

The Pompano Beach-based buyer signed a definitive agreement with Regent Bancorp Inc., the bank holding company, to close later this year. The deal is valued at $9.02 per RBI share, according to a news release.