U.S. insurer Markel Corp. said on Wednesday it would buy property and casualty insurer State National Companies Inc. for about $919 million.

Markel will pay State National shareholders $21 per share in cash, a 6.8 percent premium to State National’s Tuesday closing price.