Elon Musk’s Starlink has won a license to operate in Israel and parts of the Gaza Strip after agreeing to a series of measures to prevent Hamas from getting access to its satellite internet services.

The service will be available to some authorities in Israel and the government approved it for use at a field hospital run by the United Arab Emirates in southern Gaza, the Israeli communications ministry said in a statement on Wednesday.

Starlink, which will begin selling terminals via an Israeli subsidiary in the coming weeks, will initially restrict sales to a list of approved clients in Israel that include local councils and government bodies.