Datacom, a Lafayette-based communications company serving the oil and gas industry, has secured a $19.2 million injection of capital that will help the company refinance its debt and fund near-term growth opportunities.

The bulk of the money, $17.2 million, came from Main Street Capital Corp., a publicly traded Houston-based investment firm. Another unnamed investor provided the rest. The investors received a minority share of Datacom.

Datacom operates through several subsidiaries and under several other trade names including Global Technology Group, Blackhawk Security Solutions, and Raven Research and Development. In addition to its Lafayette headquarters, Datacom maintains operating locations in Cutoff; and Carthage, Devine and Midland, Texas.

Main Street’s investments typically support management buyouts, recapitalizations, growth, refinancings and acquisitions of lower-middle to middle-market companies. Lower-middle companies generally have annual revenue between $10 million and $150 million.