As a Democratic-Republican he was elected the fifth Vice President of the United States , serving under James Madison , from March 4 , 1813 , until his death a year and a half later . As a Democratic-Republican he was selected as the fifth Vice President of the United States ( 1813-1814 ) , serving under James Madison , until his death a year and a half into his term .