The Declaration of Independence is the document in which Filipino revolutionary forces under General Emilio Aguinaldo (later to become the Philippines' first Republican President) proclaimed the sovereignty and independence of the Philippine Islands from the colonial rule of Spain after the latter was defeated at the .