 He was condemned to death by the Ottoman military court, and according to Sejfi Vllamasi's memories he passed a psychological shock which would affect him later.He was a delegate at the Congress of Monastir of 1908, and President of the Second Congress of Manastir.At the age of 27 Pejani became a signatory of the Albanian Declaration of Independence.