The present invention relates to process for preparation of ledipasvir of formula 1 and its novel intermediates. The process involves reacting a compound of formula 4 with compound of formula 5 to yield a compound of formula 3, deprotecting a compound of formula 3 to yield compound of formula 2 and converting a compound of formula 2 to Ledipasvir.