Ludza is a town in Latvia with town rights since 1777 .
Ludza received town rights in 1777 from Catherine II of Russia .