Qatar heavily invested in loans and aid to Egypt during the Muslim Brotherhood’s government. In August 2013, Qatar joined a U.S.-led attempt to mediate the escalating tension between the Muslim Brotherhood and the military. Speaking at Georgetown University during his first visit to the United States, Tamim reiterated that Qatar will not interfere in Egypt although he condemned what happened in Egypt after the 2013 coup. Since Mohamed Morsi’s removal from office, the new government has turned down Qatari offers for financial aid. Qatar's continued support for the Muslim Brotherhood resulted in a diplomatic rift between Doha and Saudi Arabia, Bahrain and the United Arab Emirates in 2014, culminating in the withdrawal of the latter three countries' ambassadors in March of that year. Qatar has continuously denied allegations of support for the Muslim Brotherhood, with the Foreign Minister stating in 2017: "In Egypt, when the Muslim Brotherhood assumed power, some linked this to Qatar's support, even though nearly 70 percent of the assistance program provided by Qatar was during the era of Essam Sharaf, during the period of the military council". In June 2016, former president of Egypt Mohamed Morsi was given a life sentence for accusations of passing state secrets to Qatar.