Background: Recep Tayyip Erdogan (Turkish pronunciation: [re'dZep taj'jip 'aerdo(W)an] ( listen); born 26 February 1954) is a Turkish politician serving as the current President of Turkey, holding the position since 2014. He previously served as Prime Minister from 2003 to 2014 and as Mayor of Istanbul from 1994 to 1998. He founded the Justice and Development Party (AKP) in 2001, leading it to general election victories in 2002, 2007 and 2011 before standing down upon his election as President in 2014.
Context: In 2001, Erdogan established the Justice and Development Party (AKP). The elections of 2002 were the first elections in which Erdogan participated as a party leader. All parties previously elected to parliament failed to win enough votes to re-enter the parliament. The AKP won 34.3% of the national vote and formed the new government. Turkish stocks rose more than 7% on Monday morning. Politicians of the previous generation, such as Ecevit, Bahceli, Yilmaz and Ciller, resigned. The second largest party, the CHP, received 19.4% of the votes. The AKP won a landslide victory in the parliament, taking nearly two-thirds of the seats. Erdogan could not become Prime Minister as he was still banned from politics by the judiciary for his speech in Siirt. Gul became the Prime Minister instead. In December 2002, the Supreme Election Board canceled the general election results from Siirt due to voting irregularities and scheduled a new election for 9 February 2003. By this time, party leader Erdogan was able to run for parliament due to a legal change made possible by the opposition Republican People's Party. The AKP duly listed Erdogan as a candidate for the rescheduled election, which he won, becoming Prime Minister after Gul handed over the post.  On 14 April 2007, an estimated 300,000 people marched in Ankara to protest against the possible candidacy of Erdogan in the 2007 presidential election, afraid that if elected as President, he would alter the secular nature of the Turkish state. Erdogan announced on 24 April 2007 that the party had nominated Abdullah Gul as the AKP candidate in the presidential election. The protests continued over the next several weeks, with over one million people reported to have turned out at a 29 April rally in Istanbul, tens of thousands at separate protests on 4 May in Manisa and Canakkale, and one million in Izmir on 13 May.  The stage of the elections of 2007 was set for a fight for legitimacy in the eyes of voters between his government and the CHP. Erdogan used the event that took place during the ill-fated Presidential elections a few months earlier as a part of the general election campaign of his party. On 22 July 2007, the AKP won an important victory over the opposition, garnering 46.7% of the popular vote. 22 July elections marked only the second time in the Republic of Turkey's history whereby an incumbent governing party won an election by increasing its share of popular support. On 14 March 2008, Turkey's Chief Prosecutor asked the country's Constitutional Court to ban Erdogan's governing party. The party escaped a ban on 30 July 2008, a year after winning 46.7% of the vote in national elections, although judges did cut the party's public funding by 50%.  In the June 2011 elections, Erdogan's governing party won 327 seats (49.83% of the popular vote) making Erdogan the only prime minister in Turkey's history to win three consecutive general elections, each time receiving more votes than the previous election. The second party, the Republican People's Party (CHP), received 135 seats (25.94%), the nationalist MHP received 53 seats (13.01%), and the Independents received 35 seats (6.58%).
Question: who else did he work with?
Answer: Erdogan could not become Prime Minister as he was still banned from politics

Background: Ahmad Shah Durrani (c. 1722 - 16 October 1772) (Pashto: Hmd shh drny), also known as Ahmad Khan Abdali (Hmd khn bdly), was the founder of the Durrani Empire and is regarded as the founder of the modern state of Afghanistan. He began his career by enlisting as a young soldier in the military of the Afsharid kingdom and quickly rose to become a commander of the Abdali Regiment, a cavalry of four thousand Abdali Pashtun soldiers. After the assassination of Nader Shah Afshar in 1747, Ahmad Shah Durrani was chosen as King of Afghanistan.
Context: Nader Shah's rule abruptly ended in June 1747 when he was assassinated by his own guards. The guards involved in the assassination did so secretly so as to prevent the Abdalis from coming to their King's rescue. However, Durrani was told that the Shah had been killed by one of his wives. Despite the danger of being attacked, the Abdali contingent led by Durrani rushed either to save the Shah or to confirm what happened. Upon reaching the Shah's tent, they were only to see his body and severed head. Having served him so loyally, the Abdalis wept at having failed their leader, and headed back to Kandahar. Before the retreat to Kandahar, he had "removed" the royal seal from Nader Shah's finger and the Koh-i-Noor diamond tied "around the arm of his deceased master". On their way back to Kandahar, the Abdalis had "unanimously accepted" Durrani as their new leader. Hence he "assumed the insignia of royalty" as the "sovereign ruler of Afghanistan".  At the time of Nadir's death, he commanded a contingent of Abdali Pashtuns. Realizing that his life was in jeopardy if he stayed among the Persians who had murdered Nader Shah, he decided to leave the Persian camp, and with his 4,000 troops he proceeded to Qandahar. Along the way and by sheer luck, they managed to capture a caravan with booty from India. He and his troops were rich; moreover, they were experienced fighters. In short, they formed a formidable force of young Pashtun soldiers who were loyal to their high-ranking leader.  One of Durrani's first acts as chief was to adopt the titles Padishah-i-Ghazi ("victorious emperor"), and Durr-i-Durrani ("pearl of pearls" or "pearl of the age").
Question: what else interesting happened during his rise to power?
Answer:
Nader Shah's rule abruptly ended in June 1747 when he was assassinated by his own guards.