Mariño was a member of the Venezuelan Congress in 1819 and was Chief of Staff during the second Battle of Carabobo, which, on 24 June 1821, finally secured Venezuelan independence.