Sen. Ed Markey (D-Mass.) is using worries about terrorist attacks emanating from Yemen to argue against U.S. exports of natural gas.

In a letter to President Obama, Markey said exports of natural gas should be restricted so that the U.S. isn’t put in the position of needing to import natural gas from countries like Yemen, the home of al Qaeda of the Arab Peninsula (AQAP).

The terrorist group is arguably al Qaeda’s most thriving branch and allegedly had been planning an offensive on oil and gas infrastructure in Yemen.

Markey argues tankers filled with liquefied natural gas from Yemen — which dock at the Everett, Mass. port — pose a significant threat.

“In order to deliver gas to the Everett terminal, LNG tankers must travel through Boston Harbor and dock close to residential neighborhoods, an issue that has caused concern as the threat of terrorism has grown,” Markey, a member of the Foreign Relations Committee, wrote to Obama on Monday.