until his death. After Athens was captured by Ibrahim Pasha in June 1826, Makriyannis helped organise the defence of the Acropolis, and became the provisional commander of the garrison after the death of the commander, Yannis Gouras. He managed to repel a fierce assault against the Odeon of Herodes Atticus on 7 October, and during the defence of the Acropolis, he sustained heavy injures three times, to the head and to the neck. These wounds troubled him for the remainder of his life, but they did not dissuade him from taking part in the last phase of the war: in the spring of 1827 he took part in the battles of Piraeus and the battle of Phaleron. Activity after Greek Independence Governorship of Kapodistrias Makriyannis's activity did not cease with the achievement of Greek independence. After Governor Ioannis Kapodistrias arrived in Greece, he appointed Makriyannis "General Leader of the Executive Authority of the Peloponnese", based in Argos, in 1828. It was during this period, and more specifically on 26 February 1829, that he started writing his Memoirs. After Kapodistrias restructured the military in 1830, Makriyannis was given the rank of brigadier. However, he slowly came to oppose the Governor's policies and eventually broke with him. He opposed what he considered Kapodistrias's personal authoritarianism and, on a more personal level, was concerned about whether his home region would be included or not in the liberated Greek state. Influenced by Ioannis Kolettis, he even tried to force the Governor into accepting a constitutional form of government, using the troops under his command, but had no success. Finally, in August 1831, the government forced all civil servants and military personnel to sign an oath stating they were not part of secret organizations and that they were loyal servants of the government's commands. Makriyannis considered this to be degrading, and tried to author his own version of an oath instead. This, however, was not accepted by the government, and he was consequently stripped of his positions. His opposition to the existing regime did not cease with the Governor's assassination on 9 October 1831. He took the side of the "Constitutionalists" and fought against the governor's brother and successor Augustinos Kapodistrias. He did, however, condemn the assassination itself in the strongest terms. Reign of King Otto Otto, Prince of Bavaria, was chosen as the first King of Greece in 1832, under the name Othon. His