The present invention relates to process for preparation of ledipasvir of formula 1 and its novel intermediates. The process involves reaction of compound of formula 2 with compound of formula 3 to yield a compound of formula 4, deprotection of compound of formula 4 to yield compound of formula 5 and conversion of compound of formula 5 to Ledipasvir wherein PG is an amine protecting group provided that amino protecting group is not carbomethyloxy (-COOCH3) group X and Y are leaving groups.